Skip to content

Commit

Permalink
fixed import (#1002)
Browse files Browse the repository at this point in the history
  • Loading branch information
veenstrajelmer authored Sep 25, 2024
1 parent c3b3674 commit d45dc05
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_modelbuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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))
Expand Down

0 comments on commit d45dc05

Please sign in to comment.