Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed import #1002

Merged
merged 1 commit into from
Sep 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading