attempt to force keystone_v3 for ldap tests

This commit is contained in:
Adam Dyess
2020-01-28 14:03:06 -06:00
parent b7890be342
commit 416c85b08f

View File

@@ -405,7 +405,10 @@ class LdapTests(BaseKeystoneTest):
:return: return username if found
:rtype: Optional[str]
"""
client = self.admin_keystone_client
client = openstack_utils.get_keystone_session_client(
self.admin_keystone_session,
client_api_version=3)
domain_users = client.users.list(
domain=client.domains.find(name=domain).id
)