python-openstackclient/openstackclient/tests/identity/v3
Tang Chen eb1574281b Test take_action() instead of run() in unit tests
Some of the unit tests test run(), but not take_action().

For example, in openstackclient/tests/volume/v1/test_volume.py, there is:

    def test_volume_set_size_smaller(self):
        ......

        result = self.cmd.run(parsed_args)

        self.assertEqual(0, result)
        ......

run() is defined in class Command in cliff. We don't need to test it in OSC
unit tests. On the contrary, we should test take_action(), which is
overwritten in each command classes in OSC.

Change-Id: If07e89953d40ac530f08cbb1ec05f5805171364b
Closes-bug: #1553468
2016-03-05 17:12:42 +08:00
..
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
fakes.py Fixed a bunch of spacing 2016-02-23 10:38:58 -06:00
test_catalog.py Identity: Fix DisplayCommandBase comments for cliff ShowOne subclass tests 2016-02-10 23:11:58 +08:00
test_consumer.py Test take_action() instead of run() in unit tests 2016-03-05 17:12:42 +08:00
test_credential.py Fixed a bunch of spacing 2016-02-23 10:38:58 -06:00
test_domain.py Test take_action() instead of run() in unit tests 2016-03-05 17:12:42 +08:00
test_endpoint.py Test take_action() instead of run() in unit tests 2016-03-05 17:12:42 +08:00
test_group.py Identity: Fix DisplayCommandBase comments for cliff Lister subclass tests 2016-02-10 22:44:29 +08:00
test_identity_provider.py Fixed a bunch of spacing 2016-02-23 10:38:58 -06:00
test_mappings.py Fixed a bunch of spacing 2016-02-23 10:38:58 -06:00
test_oauth.py fix the wrong order of assertEqual args 2015-01-27 17:02:41 +08:00
test_project.py Test take_action() instead of run() in unit tests 2016-03-05 17:12:42 +08:00
test_protocol.py CRUD operations for federated protocols 2014-10-08 21:12:38 -04:00
test_region.py Test take_action() instead of run() in unit tests 2016-03-05 17:12:42 +08:00
test_role_assignment.py Fixed a bunch of spacing 2016-02-23 10:38:58 -06:00
test_role.py Test take_action() instead of run() in unit tests 2016-03-05 17:12:42 +08:00
test_service_provider.py Fixed a bunch of spacing 2016-02-23 10:38:58 -06:00
test_service.py Test take_action() instead of run() in unit tests 2016-03-05 17:12:42 +08:00
test_token.py Support unscoped token request 2016-02-19 16:07:13 -08:00
test_trust.py Identity: Fix DisplayCommandBase comments for cliff ShowOne subclass tests 2016-02-10 23:11:58 +08:00
test_unscoped_saml.py Identity: Fix DisplayCommandBase comments for cliff Lister subclass tests 2016-02-10 22:44:29 +08:00
test_user.py Test take_action() instead of run() in unit tests 2016-03-05 17:12:42 +08:00