Commit 3d70feff authored by Łukasz Nowak's avatar Łukasz Nowak

- do not use uuid

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35476 20353a03-c40f-0410-a6d1-a30d3c3de9de
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
import unittest import unittest
import transaction import transaction
import uuid
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase,\ from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase,\
get_request get_request
...@@ -683,8 +682,8 @@ class TestLocalRoleManagement(ERP5TypeTestCase): ...@@ -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[acquiring_type].acquire_local_roles, 1)
self.assertEquals(self.portal.portal_types[parent_type].acquire_local_roles, 0) self.assertEquals(self.portal.portal_types[parent_type].acquire_local_roles, 0)
original_owner_id = str(uuid.uuid4()) original_owner_id = 'original_user'
cloning_owner_id = str(uuid.uuid4()) cloning_owner_id = 'cloning_user'
self._createZodbUser(original_owner_id) self._createZodbUser(original_owner_id)
self._createZodbUser(cloning_owner_id) self._createZodbUser(cloning_owner_id)
transaction.commit() transaction.commit()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment