From c0094a731ab5b0ec61c9f64d24b1613b37afcf5b Mon Sep 17 00:00:00 2001 From: Erik van Sebille Date: Thu, 2 May 2024 16:37:15 +0200 Subject: [PATCH] Adding unit test for download_script --- tests/test_settings.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_settings.py b/tests/test_settings.py index 5ff7b64..50db350 100644 --- a/tests/test_settings.py +++ b/tests/test_settings.py @@ -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