Skip to content

Commit

Permalink
change https to http to fix pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
scottstanie committed Aug 13, 2022
1 parent b33f222 commit ec9dfd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sardem/tests/test_dem.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class TestDownload(unittest.TestCase):
def setUp(self):
self.bounds = utils.bounding_box(-155.4, 19.75, 0.001, 0.001)
self.test_tile = "N19W156"
self.hgt_url = "http://e4ftl01.cr.usgs.gov/MEASURES/\
self.hgt_url = "https://e4ftl01.cr.usgs.gov/MEASURES/\
SRTMGL1.003/2000.02.11/N19W156.SRTMGL1.hgt.zip"

sample_hgt_path = join(DATAPATH, self.test_tile + ".hgt.zip")
Expand All @@ -52,7 +52,7 @@ def tearDown(self):
def test_init(self):
d = download.Downloader([self.test_tile], netrc_file=NETRC_PATH)
self.assertEqual(
d.data_url, "http://e4ftl01.cr.usgs.gov/MEASURES/SRTMGL1.003/2000.02.11"
d.data_url, "https://e4ftl01.cr.usgs.gov/MEASURES/SRTMGL1.003/2000.02.11"
)

@responses.activate
Expand Down

0 comments on commit ec9dfd5

Please sign in to comment.