Commit 7cb8a703 authored by Jérome Perrin's avatar Jérome Perrin Committed by Kazuhiko Shiozaki

runUnitTest: trigger debugger in error during --save

parent c1cabf43
......@@ -654,9 +654,7 @@ def runUnitTestList(test_list, verbosity=1, debug=0, run_only=None):
ERP5TypeTestLoader._testMethodPrefix = 'dummy_test'
PortalTestCase.setUp = dummy_setUp
PortalTestCase.tearDown = dummy_tearDown
elif debug:
# Hack the profiler to run only specified test methods,
# and wrap results when running in debug mode.
if debug:
class DebugTextTestRunner(TestRunner):
def _makeResult(self):
result = super(DebugTextTestRunner, self)._makeResult()
......
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