Skip to content
Snippets Groups Projects
Commit 7f899d02 authored by Alan De Smet's avatar Alan De Smet
Browse files

Change test to use geodb, not geodb2

Either should work, but the needed files disappeared from geodb.
parent f299c3bb
Branches
No related tags found
No related merge requests found
...@@ -404,7 +404,7 @@ class DownloadFunctionsTests(DTestCase): ...@@ -404,7 +404,7 @@ class DownloadFunctionsTests(DTestCase):
def test_download_all_timeout(self): def test_download_all_timeout(self):
with TemporaryDirectory() as dir: with TemporaryDirectory() as dir:
stats = csppfetch.DownloadStatistics() stats = csppfetch.DownloadStatistics()
url_to_dst = { f"http://geodb2.ssec.wisc.edu/ancillary/2019_05_27_147/gfs.19052700_F{f:03d}.hdf" : dir+"/f" for f in range(3,22,3) } url_to_dst = { f"http://geodb.ssec.wisc.edu/ancillary/2019_05_27_147/gfs.19052700_F{f:03d}.hdf" : dir+"/f" for f in range(3,22,3) }
with self.assertRaises(csppfetch.timelimit.OutOfTime): with self.assertRaises(csppfetch.timelimit.OutOfTime):
csppfetch.download_all(url_to_dst, stats, True, 1) csppfetch.download_all(url_to_dst, stats, True, 1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment