Merge "Replace os-client-config to openstacksdk"

This commit is contained in:
Zuul 2018-07-25 07:50:44 +00:00 committed by Gerrit Code Review
commit 4666dc69c1
1 changed files with 2 additions and 2 deletions

View File

@ -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: