[Erp5-report] r44837 jm - /erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 31 03:46:36 CEST 2011


Author: jm
Date: Thu Mar 31 03:46:36 2011
New Revision: 44837

URL: http://svn.erp5.org?rev=44837&view=rev
Log:
Fix 2 deprecated imports from Products.ERP5Type.Document.*

Modified:
    erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py

Modified: erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py?rev=44837&r1=44836&r2=44837&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py [utf8] Thu Mar 31 03:46:36 2011
@@ -1322,8 +1322,8 @@ def optimize():
   # We will probably disable reindexing for other types later
   full_indexing_set = set(os.environ.get('enable_full_indexing', '').split(','))
   if not 'portal_types' in full_indexing_set:
-    from Products.ERP5Type.Document.ActionInformation import ActionInformation
-    from Products.ERP5Type.Document.RoleInformation import RoleInformation
+    from Products.ERP5Type.Core.ActionInformation import ActionInformation
+    from Products.ERP5Type.Core.RoleInformation import RoleInformation
     ActionInformation.isIndexable = RoleInformation.isIndexable = \
       ConstantGetter('isIndexable', value=False)
   if not 'portal_property_sheets' in full_indexing_set:



More information about the Erp5-report mailing list