[Erp5-report] r16556 - /erp5/trunk/products/ERP5Type/tests/runUnitTest.py

nobody at svn.erp5.org nobody at svn.erp5.org
Sun Sep 23 16:03:03 CEST 2007


Author: jerome
Date: Sun Sep 23 16:03:03 2007
New Revision: 16556

URL: http://svn.erp5.org?rev=16556&view=rev
Log:
Fix mistake in 16555 that prevented to run tests from standards locations


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

Modified: erp5/trunk/products/ERP5Type/tests/runUnitTest.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/runUnitTest.py?rev=16556&r1=16555&r2=16556&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/runUnitTest.py (original)
+++ erp5/trunk/products/ERP5Type/tests/runUnitTest.py Sun Sep 23 16:03:03 2007
@@ -214,8 +214,7 @@
 
   # allow unit tests of our Products or business templates to be reached.
   from glob import glob
-  product_test_list = glob(os.path.join(
-                products_home, os.sep, '*', os.sep, 'tests'))
+  product_test_list = glob(os.path.join(products_home, '*', 'tests'))
   sys.path.extend(product_test_list)
   bt5_path = os.environ.get('erp5_tests_bt5_path',
                             os.path.join(instance_home, 'bt5'))




More information about the Erp5-report mailing list