Merge "Replace os-client-config to openstacksdk"
This commit is contained in:
commit
4666dc69c1
|
@ -16,7 +16,7 @@
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import fixtures
|
import fixtures
|
||||||
import os_client_config
|
import openstack.config
|
||||||
from six.moves import urllib_parse
|
from six.moves import urllib_parse
|
||||||
import testtools
|
import testtools
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ class TestBase(testtools.TestCase):
|
||||||
has admin privs. This function will default to getting the
|
has admin privs. This function will default to getting the
|
||||||
devstack-admin cloud as that is the current expected behavior.
|
devstack-admin cloud as that is the current expected behavior.
|
||||||
"""
|
"""
|
||||||
os_cfg = os_client_config.OpenStackConfig()
|
os_cfg = openstack.config.OpenStackConfig()
|
||||||
try:
|
try:
|
||||||
found = os_cfg.get_one_cloud(cloud=cloud)
|
found = os_cfg.get_one_cloud(cloud=cloud)
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|
Loading…
Reference in New Issue