[Erp5-report] r38607 nicolas.dumazet - /erp5/trunk/products/ERP5/tests/

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Sep 24 08:37:55 CEST 2010


Author: nicolas.dumazet
Date: Fri Sep 24 08:37:55 2010
New Revision: 38607

URL: http://svn.erp5.org?rev=38607&view=rev
Log:
use the absolute ERP5 path instead of ERP5Type.Document to load
static methods: ERPType.Document will soon be dynamic, and if
possible will hold only classes

Modified:
    erp5/trunk/products/ERP5/tests/testERP5Simulation.py
    erp5/trunk/products/ERP5/tests/testPackingList.py

Modified: erp5/trunk/products/ERP5/tests/testERP5Simulation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testERP5Simulation.py?rev=38607&r1=38606&r2=38607&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5Simulation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testERP5Simulation.py [utf8] Fri Sep 24 08:37:55 2010
@@ -38,7 +38,7 @@ from Products.ERP5Type.UnrestrictedMetho
 from testPackingList import TestPackingList, TestPackingListMixin
 from testInvoice import TestSaleInvoice, TestInvoiceMixin
 from Products.ERP5Type.tests.backportUnittest import expectedFailure
-from Products.ERP5Type.Document.BusinessTemplate import getChainByType
+from Products.ERP5.Document.BusinessTemplate import getChainByType
 
 class TestERP5SimulationMixin(TestInvoiceMixin):
   def getBusinessTemplateList(self):

Modified: erp5/trunk/products/ERP5/tests/testPackingList.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testPackingList.py?rev=38607&r1=38606&r2=38607&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testPackingList.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testPackingList.py [utf8] Fri Sep 24 08:37:55 2010
@@ -31,7 +31,7 @@ import transaction
 
 from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
 from Products.ERP5Type.UnrestrictedMethod import UnrestrictedMethod
-from Products.ERP5Type.Document.BusinessTemplate import getChainByType
+from Products.ERP5.Document.BusinessTemplate import getChainByType
 from zLOG import LOG
 from Products.ERP5Type.tests.Sequence import SequenceList
 from testOrder import TestOrderMixin




More information about the Erp5-report mailing list