summaryrefslogtreecommitdiff
path: root/openstackclient/tests/common/test_clientmanager.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-04-19 03:23:12 +0000
committerGerrit Code Review <review@openstack.org>2015-04-19 03:23:12 +0000
commita5e79d58ae508e218a113bfa3976fae369980688 (patch)
tree34bd042a6a7ffa305c165f6284c657606f3eee25 /openstackclient/tests/common/test_clientmanager.py
parent98604abcda52adffcfda866dc472b23714bfac70 (diff)
parentf43c1f76559ae8b5b738b7ae8b69b15c379f9145 (diff)
downloadpython-openstackclient-a5e79d58ae508e218a113bfa3976fae369980688.tar.gz
Merge "Defer client imports"
Diffstat (limited to 'openstackclient/tests/common/test_clientmanager.py')
-rw-r--r--openstackclient/tests/common/test_clientmanager.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/openstackclient/tests/common/test_clientmanager.py b/openstackclient/tests/common/test_clientmanager.py
index 3648bf57..7a2f57be 100644
--- a/openstackclient/tests/common/test_clientmanager.py
+++ b/openstackclient/tests/common/test_clientmanager.py
@@ -34,6 +34,10 @@ AUTH_REF.update(fakes.TEST_RESPONSE_DICT['access'])
SERVICE_CATALOG = service_catalog.ServiceCatalogV2(AUTH_REF)
+# This is deferred in api.auth but we need it here...
+auth.get_options_list()
+
+
class Container(object):
attr = clientmanager.ClientCache(lambda x: object())