openstack-python-openstackc.../openstackclient/tests
sunyajing c45b1d7b23 Fix error for find_service() in identity
if there are more than one services be found with one
name, a NoUniqueMatch exception should be raised but
we can see a NotFound Exception raised instead. It is
because in "find_service()", we use "find_resource()"
first, if "find_resource()" return a exception, we just
think it is a NotFound Exception and continue to find
by type but ignore a NoUniqueMatch exception of
"find_resource()". This patch refactor the "find_service()"
method to solve this problem.

Change-Id: Id4619092c57f276ae0698c89df0d5503b7423a4e
Co-Authored-By: Huanxuan Ao <huanxuan.ao@easystack.cn>
Closes-Bug:#1597296
2016-07-22 19:40:50 +08:00
..
api osc-lib: exceptions 2016-06-13 10:50:01 -05:00
common Merge "osc-lib: api.auth" 2016-07-07 19:49:06 +00:00
compute Merge "Pass security group id to novaclient" 2016-07-18 18:35:15 +00:00
identity Fix error for find_service() in identity 2016-07-22 19:40:50 +08:00
image Merge "Add create_one_image_member() in FakeImage class and update test" 2016-07-18 22:54:30 +00:00
network Change to plural form of object in multi delete error message in networkv2 2016-07-14 18:34:19 +08:00
object Fixed a bunch of spacing 2016-02-23 10:38:58 -06:00
volume Merge "Support error handling for delete commands in volumev2" 2016-07-18 22:41:07 +00:00
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
fakes.py Moving authentication from keystoneclient to keystoneauth 2016-06-09 18:00:40 +02:00
test_shell.py Fix foundation copyrights 2016-06-14 09:49:28 -05:00
utils.py Add network segment command object 2016-05-27 12:58:25 -05:00