Revision 2c60bfa6 snf-tools/synnefo_tools/burnin/server_tests.py
b/snf-tools/synnefo_tools/burnin/server_tests.py | ||
---|---|---|
341 | 341 |
|
342 | 342 |
def test_004_run_testsuites(self): |
343 | 343 |
"""Run the generated tests""" |
344 |
success = True |
|
344 | 345 |
for gen_cls in self.gen_classes: |
345 | 346 |
self.info("Running testsuite %s", gen_cls.__name__) |
346 |
run_test(gen_cls) |
|
347 |
success = run_test(gen_cls) and success # With this order |
|
348 |
if self.failfast and not success: |
|
349 |
break |
|
350 |
self.assertTrue(success, "Some of the generated tests failed") |
Also available in: Unified diff