Revision 08f1780b snf-tools/synnefo_tools/burnin/server_tests.py
b/snf-tools/synnefo_tools/burnin/server_tests.py | ||
---|---|---|
44 | 44 |
|
45 | 45 |
from vncauthproxy.d3des import generate_response as d3des_generate_response |
46 | 46 |
|
47 |
from synnefo_tools.burnin.common import BurninTests, Proper, run_test
|
|
47 |
from synnefo_tools.burnin.common import BurninTests, Proper |
|
48 | 48 |
from synnefo_tools.burnin.cyclades_common import CycladesTests |
49 | 49 |
|
50 | 50 |
|
... | ... | |
341 | 341 |
|
342 | 342 |
def test_004_run_testsuites(self): |
343 | 343 |
"""Run the generated tests""" |
344 |
success = True |
|
345 |
for gen_cls in self.gen_classes: |
|
346 |
self.info("Running testsuite %s", gen_cls.__name__) |
|
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") |
|
344 |
self._run_tests(self.gen_classes) |
Also available in: Unified diff