diff options
Diffstat (limited to 'tests/expat/run_tests.py')
-rw-r--r-- | tests/expat/run_tests.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/expat/run_tests.py b/tests/expat/run_tests.py index aef92a7..43014d1 100644 --- a/tests/expat/run_tests.py +++ b/tests/expat/run_tests.py @@ -29,6 +29,12 @@ def testbase(): def setup_module(testbase: EXPATBase): print("setup function start") +def precheck(): + instance = EXPATBase() + return instance.precheck() +skip_msg = "The current environment does not match the test requirements." +pytestmark = pytest.mark.skipif(precheck() == False, reason = skip_msg) + def test_runtests_test_accounting_precision(testbase: EXPATBase): name = "runtests_test_accounting_precision" testbase.run_case(name) |