stuckyb / gcdl

6 stars 2 forks source link

Fixed bug running tests on windows #117

Closed NoaMillsUSDA-ARS closed 10 months ago

NoaMillsUSDA-ARS commented 10 months ago

test_data_request_output.py produced PermissionError on windows when deleting a temp directory with an open file. File now closed before deleting directory.

test_upload_cache.py compared two path names by comparing literal strings, which caused errors when running on windows. File now uses pathlib.Path to compare path names.