summaryrefslogtreecommitdiff
path: root/openstackclient/tests/common/test_clientmanager.py
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2014-10-17 23:43:38 -0500
committerDean Troyer <dtroyer@gmail.com>2014-10-18 00:01:52 -0500
commit2166d7d3afbbdc1659e4cffdb7bcd890cd00ec19 (patch)
tree63f1596a4eab44fa41ac54d4692dd3ba7f4efa93 /openstackclient/tests/common/test_clientmanager.py
parent0de67016c7daa1712b568cb2e49728fac3eb57ad (diff)
downloadpython-openstackclient-2166d7d3afbbdc1659e4cffdb7bcd890cd00ec19.tar.gz
Remove ClientManager._service_catalog
Anything that needs a service catalog can get it directly from auth_ref.service_catalog, no need to carry the extra attribute. ClientManager.get_endpoint_for_service_type() reamins the proper method to get an endpoint for clients that still need one directly. Change-Id: I809091c9c71d08f29606d7fd8b500898ff2cb8ae
Diffstat (limited to 'openstackclient/tests/common/test_clientmanager.py')
-rw-r--r--openstackclient/tests/common/test_clientmanager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/tests/common/test_clientmanager.py b/openstackclient/tests/common/test_clientmanager.py
index 24adfa0e..a7b13c6c 100644
--- a/openstackclient/tests/common/test_clientmanager.py
+++ b/openstackclient/tests/common/test_clientmanager.py
@@ -157,7 +157,7 @@ class TestClientManager(utils.TestCase):
)
self.assertEqual(
dir(SERVICE_CATALOG),
- dir(client_manager._service_catalog),
+ dir(client_manager.auth_ref.service_catalog),
)
def stub_auth(self, json=None, url=None, verb=None, **kwargs):