From 815a21216c6df1a33eff7a5521ee0b08f4696822 Mon Sep 17 00:00:00 2001 From: spisarski Date: Wed, 5 Jul 2017 11:35:13 -0600 Subject: Making test user password dynamic for testing against secure pods. Change-Id: I7c281062fc89a2ff4721e6bee9e90042c59273c5 Signed-off-by: spisarski --- snaps/openstack/utils/tests/keystone_utils_tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit 1.2.3-korg