[Erp5-report] r21996 - /erp5/trunk/products/ERP5/tests/testProductionPackingList.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jun 27 10:04:27 CEST 2008


Author: luke
Date: Fri Jun 27 10:04:23 2008
New Revision: 21996

URL: http://svn.erp5.org?rev=21996&view=rev
Log:
 - used another mixin class name
 - disabled splitted tests for now
 - introduced class name for real test
 - defined file encoding

Modified:
    erp5/trunk/products/ERP5/tests/testProductionPackingList.py

Modified: erp5/trunk/products/ERP5/tests/testProductionPackingList.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testProductionPackingList.py?rev=21996&r1=21995&r2=21996&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testProductionPackingList.py (original)
+++ erp5/trunk/products/ERP5/tests/testProductionPackingList.py Fri Jun 27 10:04:23 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 ##############################################################################
 #
 # Copyright (c) 2008 Nexedi SARL and Contributors. All Rights Reserved.
@@ -35,7 +36,7 @@
 from testProductionOrder import TestProductionOrderMixin
 from testPackingList import TestPackingListMixin
 
-class TestProductionPackingListMixin(TestProductionOrderMixin, TestPackingListMixin, \
+class TestProductionPackingReportListMixin(TestProductionOrderMixin, TestPackingListMixin, \
                           ERP5TypeTestCase):
   """Mixin for testing Production Packing Lists and Production Reports"""
 
@@ -146,7 +147,10 @@
         self.applied_rule_portal_type)
     self.logMessage("TODO")
 
-class TestProductionPackingList(TestProductionPackingListMixin):
+class TestProductionPackingListReport(TestProductionPackingReportListMixin):
+  pass
+
+class TestProductionPackingList(TestProductionPackingReportListMixin):
   """Test Production Packing Lists"""
   run_all_test = 1
 
@@ -209,6 +213,7 @@
 
 def test_suite():
   suite = unittest.TestSuite()
-  suite.addTest(unittest.makeSuite(TestProductionPackingList))
-  suite.addTest(unittest.makeSuite(TestProductionReport))
+  suite.addTest(unittest.makeSuite(TestProductionPackingListReport))
+  #suite.addTest(unittest.makeSuite(TestProductionPackingList))
+  #suite.addTest(unittest.makeSuite(TestProductionReport))
   return suite




More information about the Erp5-report mailing list