Commit 32089c19 authored by Alexandre Boeglin's avatar Alexandre Boeglin

Add tests_framework_home as first path element.

This allows to bypass psyco by creating a dummy psyco module.
It is then possible to run the debugger by :
"import pdb; pdb.set_trace()"


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4296 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a21ed8f7
......@@ -87,6 +87,11 @@ def runUnitTestList(test_list) :
sys.path += product_test_list
sys.path.extend((real_tests_home, tests_home))
# Add tests_framework_home as first path element.
# this allows to bypass psyco by creating a dummy psyco module
# it is then possible to run the debugger by "import pdb; pdb.set_trace()"
sys.path.insert(0, tests_framework_home)
for test in test_list:
if test.endswith('.py'):
test = test[:-3]
......
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