Merge "Replace os-client-config"

This commit is contained in:
Zuul
2025-07-02 07:20:41 +00:00
committed by Gerrit Code Review
2 changed files with 4 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ from observabilityclient import client
from keystoneauth1 import loading
from keystoneauth1 import session
import os_client_config
from openstack import config as occ
from tempest.lib.cli import output_parser
from tempest.lib import exceptions
import testtools
@@ -33,8 +33,8 @@ LOG = logging.getLogger(__name__)
class PythonAPITestCase(testtools.TestCase):
def _getKeystoneSession(self):
conf = os_client_config.OpenStackConfig()
creds = conf.get_one_cloud(cloud=ADMIN_CLOUD).get_auth_args()
conf = occ.OpenStackConfig()
creds = conf.get_one(cloud=ADMIN_CLOUD).get_auth_args()
ks_creds = dict(
auth_url=creds["auth_url"],
username=creds["username"],

View File

@@ -1,5 +1,5 @@
python-openstackclient>=6.3.0 # Apache-2.0
os-client-config>=1.28.0 # Apache-2.0
openstacksdk>=0.10.0 # Apache-2.0
stestr>=2.0.0 # Apache-2.0
tempest>=10 # Apache-2.0
testtools>=1.4.0 # MIT