diff options
author | spisarski <s.pisarski@cablelabs.com> | 2017-07-05 11:35:13 -0600 |
---|---|---|
committer | spisarski <s.pisarski@cablelabs.com> | 2017-07-05 11:35:13 -0600 |
commit | 815a21216c6df1a33eff7a5521ee0b08f4696822 (patch) | |
tree | 1684a13f38074293b9fa405321c66ef4612e620f | |
parent | 3b758ac913b0805eb4c7817efebd167adbbf9325 (diff) |
Making test user password dynamic for testing against secure pods.
Change-Id: I7c281062fc89a2ff4721e6bee9e90042c59273c5
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
-rw-r--r-- | snaps/openstack/utils/tests/keystone_utils_tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/snaps/openstack/utils/tests/keystone_utils_tests.py b/snaps/openstack/utils/tests/keystone_utils_tests.py index 347b8e0..d9ff3ed 100644 --- a/snaps/openstack/utils/tests/keystone_utils_tests.py +++ b/snaps/openstack/utils/tests/keystone_utils_tests.py @@ -81,7 +81,8 @@ class KeystoneUtilsTests(OSComponentTestCase): """ Tests the keystone_utils.create_user() function """ - user_settings = UserSettings(name=self.username, password='test123') + user_settings = UserSettings(name=self.username, + password=str(uuid.uuid4())) self.user = keystone_utils.create_user(self.keystone, user_settings) self.assertEqual(self.username, self.user.name) |