From d45dc05f18288d2da22ca00448ec74ade1d5b1dd Mon Sep 17 00:00:00 2001 From: veenstrajelmer <60435591+veenstrajelmer@users.noreply.github.com> Date: Wed, 25 Sep 2024 10:13:23 +0200 Subject: [PATCH] fixed import (#1002) --- tests/test_modelbuilder.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_modelbuilder.py b/tests/test_modelbuilder.py index b909fad4a..e7ca62e36 100644 --- a/tests/test_modelbuilder.py +++ b/tests/test_modelbuilder.py @@ -13,6 +13,7 @@ import xarray as xr import numpy as np from dfm_tools.modelbuilder import get_quantity_list, get_ncvarname +from test_interpolate_grid2bnd import cmems_dataset_4times # TODO: create fixture @pytest.mark.unittest @@ -39,9 +40,6 @@ def test_get_ncvarname_list(): @pytest.mark.systemtest def test_cmems_nc_to_ini_midnight_centered(tmp_path): - - # TODO: create fixture - from tests.test_interpolate_grid2bnd import cmems_dataset_4times ds1 = cmems_dataset_4times().isel(time=slice(None,2)) ds1["time"] = ds1["time"] + pd.Timedelta(hours=12) ds2 = cmems_dataset_4times().isel(time=slice(2,None))