From 31e189687e74cc7cb20d8f847a7dc63dfd535301 Mon Sep 17 00:00:00 2001 From: Martin Pavlasek Date: Mon, 13 Apr 2015 11:38:44 +0200 Subject: [PATCH] Use gen_resource_name in create/delete user test Using uuid in every testcase is already overcome. Change-Id: Ib651a0e97e8e19b12b0a2735a7694d0234e378fc --- .../test/integration_tests/tests/test_user_create_delete.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openstack_dashboard/test/integration_tests/tests/test_user_create_delete.py b/openstack_dashboard/test/integration_tests/tests/test_user_create_delete.py index 58ea5e7187..9ae585ea81 100644 --- a/openstack_dashboard/test/integration_tests/tests/test_user_create_delete.py +++ b/openstack_dashboard/test/integration_tests/tests/test_user_create_delete.py @@ -9,14 +9,13 @@ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. -import uuid from openstack_dashboard.test.integration_tests import helpers class TestUser(helpers.AdminTestCase): - USER_NAME = "user_" + str(uuid.uuid4()) + USER_NAME = helpers.gen_random_resource_name("user") def test_create_delete_user(self): users_page = self.home_pg.go_to_identity_userspage()