Commit 2345b09c authored by Jérome Perrin's avatar Jérome Perrin

LiveTest: flush stdout when printing output

parent e30a8e74
......@@ -270,6 +270,7 @@ def runLiveTest(test_list, verbosity=1, stream=None, request_server_url=None, **
output = StringIO()
def print_and_write(data):
sys.stdout.write(data)
sys.stdout.flush()
return StringIO.write(output, data)
output.write = print_and_write
output.write("**Running Live Test:\n")
......
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