Commit 09d52ad8 authored by Stefan Behnel's avatar Stefan Behnel

fix last commit

parent 71ad5247
...@@ -888,8 +888,8 @@ if __name__ == '__main__': ...@@ -888,8 +888,8 @@ if __name__ == '__main__':
"Failed to import xmlrunner.XMLTestRunner, no XML output available\n") "Failed to import xmlrunner.XMLTestRunner, no XML output available\n")
xml_output_dir = None xml_output_dir = None
if xml_output_dir: if options.xml_output_dir:
test_runner = XMLTestRunner(output=xml_output_dir) test_runner = XMLTestRunner(output=options.xml_output_dir)
else: else:
test_runner = unittest.TextTestRunner(verbosity=options.verbosity) test_runner = unittest.TextTestRunner(verbosity=options.verbosity)
......
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