summaryrefslogtreecommitdiffstats
path: root/snaps/openstack/tests/create_user_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'snaps/openstack/tests/create_user_tests.py')
-rw-r--r--snaps/openstack/tests/create_user_tests.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/snaps/openstack/tests/create_user_tests.py b/snaps/openstack/tests/create_user_tests.py
index 7519700..9f08a32 100644
--- a/snaps/openstack/tests/create_user_tests.py
+++ b/snaps/openstack/tests/create_user_tests.py
@@ -102,9 +102,11 @@ class CreateUserSuccessTests(OSComponentTestCase):
"""
guid = str(uuid.uuid4())[:-19]
guid = self.__class__.__name__ + '-' + guid
- self.user_settings = UserSettings(name=guid + '-name',
- password=guid + '-password',
- roles={'admin': 'admin'})
+ self.user_settings = UserSettings(
+ name=guid + '-name',
+ password=guid + '-password',
+ roles={'admin': 'admin'},
+ domain_name=self.os_creds.user_domain_name)
self.keystone = keystone_utils.keystone_client(self.os_creds)