diff --git a/tests/data/df.zarr.zip b/tests/data/df.zarr.zip index 4cf8c17..fd6be44 100644 Binary files a/tests/data/df.zarr.zip and b/tests/data/df.zarr.zip differ diff --git a/tests/data/generate_trusted_result.py b/tests/data/generate_trusted_result.py index 898d651..da1e59b 100644 --- a/tests/data/generate_trusted_result.py +++ b/tests/data/generate_trusted_result.py @@ -16,6 +16,7 @@ test_df._write_test_data(tmp_dir) output_zarr = os.path.join(tmp_dir, "output.zarr") files = glob.glob(os.path.join(tmp_dir, "*.jp2")) + files.sort() with zipfile.ZipFile("data/df_input.zip", "w") as z: for file in files: z.write(file, os.path.basename(file)) diff --git a/tests/test_df.py b/tests/test_df.py index 384b2f4..163f4fd 100644 --- a/tests/test_df.py +++ b/tests/test_df.py @@ -21,5 +21,6 @@ def test_df(tmp_path): z.extractall(tmp_path) output_zarr = tmp_path / "output.zarr" files = glob.glob(os.path.join(tmp_path, "*.jp2")) + files.sort() multi_slice.convert(files, str(output_zarr)) assert _cmp_zarr_archives(str(output_zarr), "data/df.zarr.zip")