From 3d70feff51688b523cb177a4bd00d109624272f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Thu, 20 May 2010 11:14:18 +0000 Subject: [PATCH] - do not use uuid git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35476 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Security/tests/testERP5Security.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/product/ERP5Security/tests/testERP5Security.py b/product/ERP5Security/tests/testERP5Security.py index ec512f07ac..24d745d628 100644 --- a/product/ERP5Security/tests/testERP5Security.py +++ b/product/ERP5Security/tests/testERP5Security.py @@ -32,7 +32,6 @@ import unittest import transaction -import uuid from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase,\ get_request @@ -683,8 +682,8 @@ class TestLocalRoleManagement(ERP5TypeTestCase): self.assertEquals(self.portal.portal_types[acquiring_type].acquire_local_roles, 1) self.assertEquals(self.portal.portal_types[parent_type].acquire_local_roles, 0) - original_owner_id = str(uuid.uuid4()) - cloning_owner_id = str(uuid.uuid4()) + original_owner_id = 'original_user' + cloning_owner_id = 'cloning_user' self._createZodbUser(original_owner_id) self._createZodbUser(cloning_owner_id) transaction.commit() -- 2.30.9