Skip to content

Commit da1953c

Browse files
add buffer testcase
1 parent 330f012 commit da1953c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/test_download.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -227,13 +227,9 @@ def test_copernicusmarine_get_buffer():
227227
buffer = copernicusmarine_get_buffer(dataset_id)
228228
assert np.isclose(buffer, 0.16666666)
229229

230-
231-
@pytest.mark.requiressecrets
232-
@pytest.mark.unittest
233-
def test_copernicusmarine_get_buffer_notfound():
234230
dataset_id = 'cmems_obs-oc_glo_bgc-transp_my_l3-multi-4km_P1D'
235231
buffer = copernicusmarine_get_buffer(dataset_id)
236-
assert np.isclose(buffer, 0.5)
232+
assert np.isclose(buffer, 0.0833333358168602)
237233

238234

239235
@pytest.mark.requiressecrets

0 commit comments

Comments
 (0)