diff options
Diffstat (limited to 'tests/aio_stress/run_tests.py')
-rw-r--r-- | tests/aio_stress/run_tests.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/aio_stress/run_tests.py b/tests/aio_stress/run_tests.py index e7e8b5c..85a3515 100644 --- a/tests/aio_stress/run_tests.py +++ b/tests/aio_stress/run_tests.py @@ -39,6 +39,8 @@ def testbase(): instance = AIOBase() #run test scripts instance.run_test_fun() + #write test suite info to file + instance.write_run_info() yield instance @@ -50,7 +52,12 @@ def setup_module(testbase: AIOBase): def precheck(): instance = AIOBase() - return instance.precheck() + output = instance.precheck() + if(output == False): + #write test suite info to file + instance.write_skip_info() + return output + skip_msg = "The current environment does not match the test requirements." pytestmark = pytest.mark.skipif(precheck() == False, reason = skip_msg) |