Add domain info to functional test clients

Keystone wants domain info, so pass it on.

Change-Id: Ie99f79b61e5f8d469695fa19ad99d919fa23ae8e
Closes-bug: #1737583
This commit is contained in:
Brian Rosmaita 2017-12-11 11:57:26 -05:00
parent 9915f275ca
commit 79d0051655
1 changed files with 5 additions and 1 deletions

View File

@ -56,6 +56,8 @@ class ClientTestBase(base.ClientTestBase):
username=self.creds['username'],
password=self.creds['password'],
tenant_name=self.creds['project_name'],
user_domain_id=self.creds['user_domain_id'],
project_domain_id=self.creds['project_domain_id'],
uri=self.creds['auth_url'],
cli_dir=cli_dir)
@ -68,7 +70,9 @@ class ClientTestBase(base.ClientTestBase):
auth_url=self.creds["auth_url"],
username=self.creds["username"],
password=self.creds["password"],
project_name=self.creds["project_name"])
project_name=self.creds["project_name"],
user_domain_id=self.creds["user_domain_id"],
project_domain_id=self.creds["project_domain_id"])
keystoneclient = self.Keystone(**ks_creds)
return self.Glance(keystoneclient)