diff options
author | Hind-M <hind.montassif@gmail.com> | 2022-02-03 10:24:38 +0100 |
---|---|---|
committer | Hind-M <hind.montassif@gmail.com> | 2022-02-03 10:24:38 +0100 |
commit | 6109fd920ba477f89e83fea3df9803232c169463 (patch) | |
tree | e238dac1ef7d6ff22c259047454618f30fe7fa5f | |
parent | a2d55f9bbf0f45e3ae4c147f734ce04f5bc87ab8 (diff) |
Remove archive folder before testing wrapping functions
-rw-r--r-- | src/python/test/test_remote_datasets.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/python/test/test_remote_datasets.py b/src/python/test/test_remote_datasets.py index 5e607d73..93a8a982 100644 --- a/src/python/test/test_remote_datasets.py +++ b/src/python/test/test_remote_datasets.py @@ -78,6 +78,9 @@ def test_fetch_remote_datasets(): # Test not printing bunny.npy LICENSE when accept_license = True assert "" == _get_bunny_license_print(accept_license = True).getvalue() + # Remove "remote_datasets" directory and all its content + import shutil + shutil.rmtree("remote_datasets") # Test fetch_spiral_2d and fetch_bunny wrapping functions (twice, to test case of already fetched files) for i in range(2): spiral_2d_arr = remote.fetch_spiral_2d() |