python-openstackclient/openstackclient/tests/identity/v3
David Rosales 337d013c94 Use resource id when name given for identity show
Currently a user is allowed to specify either a resource ID or name
when running openstack identity comands. In some cases, when a name
is specified instead of an ID, the command will return as not able
to find the resource when it in fact does exist.

The changes here are to check the client against the token on such
requests and to extract the ID of the resource specified if enough
information exists between the two. We then use the ID associated
with the resource to complete the user requests.

Change-Id: I40713b0ded42063b786dc21247e854224b9d2fe2
Closes-Bug: #1561599
2016-06-22 21:55:46 -07:00
..
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
fakes.py Use resource id when name given for identity show 2016-06-22 21:55:46 -07:00
test_catalog.py Moving authentication from keystoneclient to keystoneauth 2016-06-09 18:00:40 +02:00
test_consumer.py Trivial: Reorder classes in identity v3 in alphabetical order 2016-03-11 10:02:25 +08:00
test_credential.py [Identity] Check return value is None in identity v3 unit tests 2016-03-08 15:58:25 +08:00
test_domain.py Use resource id when name given for identity show 2016-06-22 21:55:46 -07: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 Search by user defined ID for identity providers 2016-05-23 15:18:11 -04:00
test_mappings.py osc-lib: exceptions 2016-06-13 10:50:01 -05:00
test_oauth.py Trivial: Reorder classes in identity v3 in alphabetical order 2016-03-11 10:02:25 +08:00
test_project.py Use resource id when name given for identity show 2016-06-22 21:55:46 -07:00
test_protocol.py [Identity] Check return value is None in identity v3 unit tests 2016-03-08 15:58:25 +08:00
test_region.py Test take_action() instead of run() in unit tests 2016-03-05 17:12:42 +08:00
test_role.py [Identity] Check return value is None in identity v3 unit tests 2016-03-08 15:58:25 +08:00
test_role_assignment.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_service_provider.py Search by user defined ID for service providers 2016-05-24 18:45:58 +00:00
test_token.py Moving authentication from keystoneclient to keystoneauth 2016-06-09 18:00:40 +02:00
test_trust.py [Identity] Check return value is None in identity v3 unit tests 2016-03-08 15:58:25 +08:00
test_unscoped_saml.py osc-lib: exceptions 2016-06-13 10:50:01 -05:00
test_user.py Use resource id when name given for identity show 2016-06-22 21:55:46 -07:00