From 2be3ef6b576e6e02be18ed7a232e616df4c3f085 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Fr=C3=B6hlich?= Date: Fri, 6 Dec 2024 13:39:54 +0000 Subject: [PATCH] refactor petab test cases --- tests/petab_test_suite/test_petab_suite.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/tests/petab_test_suite/test_petab_suite.py b/tests/petab_test_suite/test_petab_suite.py index bb13c25d84..5fe61adcf2 100755 --- a/tests/petab_test_suite/test_petab_suite.py +++ b/tests/petab_test_suite/test_petab_suite.py @@ -211,16 +211,12 @@ def run(): n_skipped = 0 n_total = 0 for version in ("v1.0.0", "v2.0.0"): - for model_lang in ("cpp", "jax"): - cases = petabtests.get_cases( - "sbml", version=version, jax=model_lang == "jax" - ) + for jax in (False, True): + cases = petabtests.get_cases("sbml", version=version) n_total += len(cases) for case in cases: try: - test_case( - case, "sbml", version=version, jax=model_lang == "jax" - ) + test_case(case, "sbml", version=version, jax=jax) n_success += 1 except Skipped: n_skipped += 1