Skip to content

Commit 38926af

Browse files
Added fixtures for multifile datasets.
1 parent f61c8a9 commit 38926af

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

tests/operations/test_cache.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ def test_cache_key_cfgrid1d_sha1(datasets: pathlib.Path):
207207

208208
def test_cache_key_with_multifile_dataset_ugrid_mesh2d(datasets: pathlib.Path):
209209

210-
ugrid_path1 = datasets / 'multiple_dataset/ugrid_mesh2d/ugrid_mesh2d_2024-01-01.nc'
211-
ugrid_path2 = datasets / 'multiple_dataset/ugrid_mesh2d/ugrid_mesh2d_2024-01-02.nc'
210+
ugrid_path1 = datasets / 'multifile_datasets/ugrid_mesh2d/ugrid_mesh2d_2024-01-01.nc'
211+
ugrid_path2 = datasets / 'multifile_datasets/ugrid_mesh2d/ugrid_mesh2d_2024-01-02.nc'
212212

213213
dataset_paths = [ugrid_path1, ugrid_path2]
214214

@@ -225,8 +225,8 @@ def test_cache_key_with_multifile_dataset_ugrid_mesh2d(datasets: pathlib.Path):
225225

226226
def test_cache_key_with_multifile_dataset_cfgrid2d(datasets: pathlib.Path):
227227

228-
cfgrid_path1 = datasets / 'multiple_dataset/cfgrid2d/cfgrid2d_2024-01-01.nc'
229-
cfgrid_path2 = datasets / 'multiple_dataset/cfgrid2d/cfgrid2d_2024-01-02.nc'
228+
cfgrid_path1 = datasets / 'multifile_datasets/cfgrid2d/cfgrid2d_2024-01-01.nc'
229+
cfgrid_path2 = datasets / 'multifile_datasets/cfgrid2d/cfgrid2d_2024-01-02.nc'
230230

231231
dataset_paths = [cfgrid_path1, cfgrid_path2]
232232

0 commit comments

Comments
 (0)