diff options
author | matthew.hodgins <matthew.hodgins@calxeda.com> | 2013-08-27 13:22:59 -0500 |
---|---|---|
committer | matthew.hodgins <matthew.hodgins@calxeda.com> | 2013-08-27 13:22:59 -0500 |
commit | ead8c0a583636004ff0fc468c649d882a4ec6dc1 (patch) | |
tree | f07bc6be344e15e83cd602aa8109c51894e66fc0 | |
parent | a87fba11df888c09abf48caeab06ca79419ab3b4 (diff) | |
download | cxmanage-ead8c0a583636004ff0fc468c649d882a4ec6dc1.tar.gz |
nojira cx_manage tests need to output XML for Jenkins reporting
-rwxr-xr-x | run_tests | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -32,6 +32,7 @@ import unittest +import xmlrunner from cxmanage_test import tftp_test, image_test, node_test, fabric_test, \ tasks_test @@ -43,7 +44,7 @@ def main(): suite = unittest.TestSuite() for module in test_modules: suite.addTest(loader.loadTestsFromModule(module)) - unittest.TextTestRunner(verbosity=2).run(suite) + xmlrunner.XMLTestRunner(verbosity=2).run(suite) if __name__ == "__main__": main() |