From 7f899d025936ec33ee78a8833cc8f7a122b684ba Mon Sep 17 00:00:00 2001
From: Alan De Smet <alan.desmet@ssec.wisc.edu>
Date: Thu, 2 Sep 2021 15:13:06 +0000
Subject: [PATCH] Change test to use geodb, not geodb2

Either should work, but the needed files disappeared from geodb.
---
 csppfetch/test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/csppfetch/test.py b/csppfetch/test.py
index 9c00678..02949f4 100755
--- a/csppfetch/test.py
+++ b/csppfetch/test.py
@@ -404,7 +404,7 @@ class DownloadFunctionsTests(DTestCase):
     def test_download_all_timeout(self):
         with TemporaryDirectory() as dir:
             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):
                 csppfetch.download_all(url_to_dst, stats, True, 1)
-- 
GitLab