diff options
Diffstat (limited to 'tests/zlib/run_tests.py')
-rw-r--r-- | tests/zlib/run_tests.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/zlib/run_tests.py b/tests/zlib/run_tests.py index b9c3826..bf62390 100644 --- a/tests/zlib/run_tests.py +++ b/tests/zlib/run_tests.py @@ -28,6 +28,12 @@ def testbase(): #package log files and make report file instance.log_report() +def precheck(): + instance = ZLIBBase() + return instance.precheck() +skip_msg = "The current environment does not match the test requirements." +pytestmark = pytest.mark.skipif(precheck() == False, reason = skip_msg) + def setup_module(testbase: ZLIBBase): print("setup function start") |