Skip to content

Commit

Permalink
Adding unit test for download_script
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvansebille committed May 2, 2024
1 parent 4bb05ab commit c0094a7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@
def test_settings():
settings = pp.utils.load_settings('docs/examples/default_settings.json')
assert settings is not None


def test_download_script(tmpdir):
settings = pp.utils.load_settings('docs/examples/default_settings.json')
pp.utils.download_plasticparcels_dataset("NEMO0083", settings=settings, data_home=tmpdir)
assert True

0 comments on commit c0094a7

Please sign in to comment.