Skip to content

Commit

Permalink
Update CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gmaze committed Oct 11, 2024
1 parent 66f28bd commit be67175
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion argopy/tests/test_fetchers_data_erddap_bgc.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,13 @@
List user modes to be tested
"""
USER_MODES = ['standard', 'expert', 'research']
# USER_MODES = ['expert']
# USER_MODES = ['research']

"""
List of 'params' fetcher arguments to be tested
"""
PARAMS = ['all', 'DOXY']
# PARAMS = ['all']

"""
Make a list of VALID dataset/access_points to be tested
Expand Down
4 changes: 2 additions & 2 deletions argopy/tests/test_utils_caching.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def test_clear_cache():
ftproot, flist = argopy.tutorial.open_dataset("gdac")
with tempfile.TemporaryDirectory() as cachedir:
with argopy.set_options(cachedir=cachedir):
loader = ArgoDataFetcher(src="gdac", ftp=ftproot, cache=True).profile(2902696, 12)
loader = ArgoDataFetcher(src="gdac", gdac=ftproot, cache=True).profile(2902696, 12)
loader.to_xarray()
clear_cache()
assert os.path.exists(cachedir) is True
Expand All @@ -26,7 +26,7 @@ def test_lscache():
ftproot, flist = argopy.tutorial.open_dataset("gdac")
with tempfile.TemporaryDirectory() as cachedir:
with argopy.set_options(cachedir=cachedir):
loader = ArgoDataFetcher(src="gdac", ftp=ftproot, cache=True).profile(2902696, 12)
loader = ArgoDataFetcher(src="gdac", gdac=ftproot, cache=True).profile(2902696, 12)
loader.to_xarray()
result = lscache(cache_path=cachedir, prt=True)
assert isinstance(result, str)
Expand Down

0 comments on commit be67175

Please sign in to comment.