Skip to content

Commit 3234672

Browse files
Renaming test names to highlight they test convert
1 parent 0bb6208 commit 3234672

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_convert.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def test_nemo_to_sgrid():
4646

4747

4848
@pytest.mark.parametrize("ds", _COPERNICUS_DATASETS)
49-
def test_fieldset_from_copernicusmarine(ds, caplog):
49+
def test_convert_copernicusmarine(ds, caplog):
5050
if "uo" in ds:
5151
fields = {"U": ds["uo"], "V": ds["vo"]}
5252
elif "VSDX" in ds:
@@ -60,7 +60,7 @@ def test_fieldset_from_copernicusmarine(ds, caplog):
6060
assert "UV" in fieldset.fields
6161

6262

63-
def test_fieldset_from_copernicusmarine_no_currents(caplog):
63+
def test_convert_copernicusmarine_no_currents(caplog):
6464
ds = datasets_circulation_models["ds_copernicusmarine"]
6565
ds_fset = convert.copernicusmarine_to_sgrid(fields={"do": ds["uo"]})
6666
fieldset = FieldSet.from_sgrid_conventions(ds_fset)
@@ -71,7 +71,7 @@ def test_fieldset_from_copernicusmarine_no_currents(caplog):
7171

7272

7373
@pytest.mark.parametrize("ds", _COPERNICUS_DATASETS)
74-
def test_fieldset_from_copernicusmarine_no_logs(ds, caplog):
74+
def test_convert_copernicusmarine_no_logs(ds, caplog):
7575
ds = ds.copy()
7676
zeros = xr.zeros_like(list(ds.data_vars.values())[0])
7777
ds["U"] = zeros

0 commit comments

Comments
 (0)