Commit 28b54557 authored by Vincent Pelletier's avatar Vincent Pelletier

Use the correct variable.

Fixes test results containing values from unrelated tests, and occasional
"NoneType has no attribute stop" errors.
parent 0f419d80
...@@ -81,6 +81,6 @@ def main(): ...@@ -81,6 +81,6 @@ def main():
test = test_result.start(suite.running.keys()) test = test_result.start(suite.running.keys())
if test is not None: if test is not None:
suite.start(test.name, lambda status_dict, __test=test: suite.start(test.name, lambda status_dict, __test=test:
test.stop(**status_dict)) __test.stop(**status_dict))
elif not suite.running: elif not suite.running:
break break
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