Skip to content

Commit

Permalink
Re-activating some tests with updated filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
castelao committed Oct 6, 2023
1 parent 0579e0c commit b808e3d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ def test_OceanColorDB():
ds.attrs


@pytest.mark.skip()
def test_contains():
"""Contain check for FileSystem
Expand All @@ -72,7 +71,7 @@ def test_contains():

# Check something that exists
# Be sure that is was available or download it first
filename = "TERRA_MODIS.2004006.L3m_DAY_CHL_chlor_a_4km.nc"
filename = "TERRA_MODIS.20040106.L3m.DAY.CHL.chlor_a.4km.nc"
ds = db[filename]
# then check (confirm) that it is available
assert filename in db
Expand All @@ -91,7 +90,6 @@ def test_serialize_OceanColorDB():
assert ds == ds2


@pytest.mark.skip()
def test_no_download():
"""
Expand All @@ -105,7 +103,7 @@ def test_no_download():
)
db.backend = FileSystem("./")

filename = "V2000009.L3m_DAY_SNPP_CHL_chlor_a_4km.nc"
filename = "SNPP_VIIRS.20000109.L3m.DAY.SNPP.CHL.chlor_a.4km.nc"
# Confirm that it is not available, otherwise this test doesn't make sense
assert filename not in db

Expand Down

0 comments on commit b808e3d

Please sign in to comment.