Commit c1c69486 authored by Jérome Perrin's avatar Jérome Perrin

Fix mistake in 16555 that prevented to run tests from standards locations



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16556 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 254f00a6
...@@ -214,8 +214,7 @@ def runUnitTestList(test_list): ...@@ -214,8 +214,7 @@ def runUnitTestList(test_list):
# allow unit tests of our Products or business templates to be reached. # allow unit tests of our Products or business templates to be reached.
from glob import glob from glob import glob
product_test_list = glob(os.path.join( product_test_list = glob(os.path.join(products_home, '*', 'tests'))
products_home, os.sep, '*', os.sep, 'tests'))
sys.path.extend(product_test_list) sys.path.extend(product_test_list)
bt5_path = os.environ.get('erp5_tests_bt5_path', bt5_path = os.environ.get('erp5_tests_bt5_path',
os.path.join(instance_home, 'bt5')) os.path.join(instance_home, 'bt5'))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment