Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankrb committed Nov 6, 2024
1 parent 88441c3 commit 32a2fa9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/create/test_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,11 @@ def compare(self):

@pytest.mark.parametrize("name", NAMES)
@pytest.mark.skipif(not extensive_tests, reason="Skipping to run the test faster")
@pytest.mark.parametrize("is_test", [False, True])
@mockup_from_source
def test_run(name, is_test):
def test_run(name):
config = os.path.join(HERE, name + ".yaml")
output = os.path.join(HERE, name + ".zarr")
is_test = False

creator_factory("init", config=config, path=output, overwrite=True, test=is_test).run()
creator_factory("load", path=output).run()
Expand Down Expand Up @@ -286,4 +286,4 @@ def test_run(name, is_test):
parser = argparse.ArgumentParser()
parser.add_argument("name", help="Name of the test case")
args = parser.parse_args()
test_run(args.name, is_test=False)
test_run(args.name)

0 comments on commit 32a2fa9

Please sign in to comment.