Commit c2aa5879 authored by Sebastien Robin's avatar Sebastien Robin

print messages inside the live output

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42891 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 708303a9
......@@ -214,4 +214,7 @@ def runLiveTest(test_list, verbosity=1, stream=None, **kw):
if stream is None:
output = StringIO()
output.write("**Running Live Test:\n")
def _print(msg):
output.write(msg)
ZopeTestCase._print = _print
result = TestRunner(stream=output, verbosity=verbosity).run(suite)
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