[Erp5-report] r35476 luke - /erp5/trunk/products/ERP5Security/tests/testERP5Security.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu May 20 13:14:21 CEST 2010


Author: luke
Date: Thu May 20 13:14:18 2010
New Revision: 35476

URL: http://svn.erp5.org?rev=35476&view=rev
Log:
 - do not use uuid

Modified:
    erp5/trunk/products/ERP5Security/tests/testERP5Security.py

Modified: erp5/trunk/products/ERP5Security/tests/testERP5Security.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Security/tests/testERP5Security.py?rev=35476&r1=35475&r2=35476&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Security/tests/testERP5Security.py [utf8] (original)
+++ erp5/trunk/products/ERP5Security/tests/testERP5Security.py [utf8] Thu May 20 13:14:18 2010
@@ -32,7 +32,6 @@
 
 import unittest
 import transaction
-import uuid
 
 from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase,\
                                                      get_request
@@ -683,8 +682,8 @@
     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()




More information about the Erp5-report mailing list