Skip to content

Commit

Permalink
none and empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
gregjhogan committed Mar 12, 2024
1 parent 7222e0c commit d5dd45d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def test_download_list(self):
file = download_and_cache_file(self.url_base, self.folder_path, cache_dir=self.cache_dir, filename=self.filename, compression='.Z')
self.assertIsNotNone(file)

def test_download_list_with_none(self):
file = download_and_cache_file((None, self.url_base[0]), self.folder_path, cache_dir=self.cache_dir, filename=self.filename, compression='.Z')
def test_download_list_with_disabled_mirror(self):
file = download_and_cache_file((None, "", self.url_base[0]), self.folder_path, cache_dir=self.cache_dir, filename=self.filename, compression='.Z')
self.assertIsNotNone(file)

def test_download_overwrite(self):
Expand Down

0 comments on commit d5dd45d

Please sign in to comment.