[Erp5-report] r16079 - /erp5/trunk/products/ERP5/tests/testProductionOrder.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Sep 5 16:56:10 CEST 2007


Author: romain
Date: Wed Sep  5 16:56:10 2007
New Revision: 16079

URL: http://svn.erp5.org?rev=16079&view=rev
Log:
Add missing main part.

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

Modified: erp5/trunk/products/ERP5/tests/testProductionOrder.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testProductionOrder.py?rev=16079&r1=16078&r2=16079&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testProductionOrder.py (original)
+++ erp5/trunk/products/ERP5/tests/testProductionOrder.py Wed Sep  5 16:56:10 2007
@@ -1151,3 +1151,12 @@
                       '
     sequence_list.addSequenceString(sequence_string)
     sequence_list.play(self)
+
+if __name__ == '__main__':
+    framework()
+else:
+    import unittest
+    def test_suite():
+        suite = unittest.TestSuite()
+        suite.addTest(unittest.makeSuite(TestProductionOrder))
+        return suite




More information about the Erp5-report mailing list