Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaussion committed Jan 4, 2023
1 parent a38b8a9 commit 2a19b5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions oggm/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2169,8 +2169,8 @@ def test_tandem(self):
fakefile='TDM1_DEM__30_N60W146.tif')

def down_check(url, *args, **kwargs):
expect = ('https://download.geoservice.dlr.de/TDM90/files/N60/' +
'W140/' + 'TDM1_DEM__30_N60W146.zip')
expect = ('https://download.geoservice.dlr.de/TDM90/files/DEM/'
'N60/W140/TDM1_DEM__30_N60W146.zip')
self.assertEqual(url, expect)
return tf

Expand Down Expand Up @@ -2202,7 +2202,7 @@ def down_check(url, *args, **kwargs):
file = tf.get(url.split('/')[-1])
self.assertIsNotNone(file)

expect = 'https://download.geoservice.dlr.de/TDM90/files/N60/W140/'
expect = 'https://download.geoservice.dlr.de/TDM90/files/DEM/N60/W140/'
expect += file.split('/')[-1].replace('tif', '.zip')
self.assertEqual(url, expect)

Expand Down

0 comments on commit 2a19b5c

Please sign in to comment.