Skip to content

Commit

Permalink
integrate nico's change
Browse files Browse the repository at this point in the history
  • Loading branch information
nlebovits committed Sep 24, 2024
1 parent 8a27fc2 commit f168877
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion data/src/test/test_data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,16 @@ class TestDataUtils(unittest.TestCase):
Test methods for data utils feature layer classes
"""

def test_get_latest_shapefile_url(self):
"""
Test the get_latest_shapefile_url function.
"""
url = get_latest_shapefile_url()
self.assertTrue(url.startswith("https://"))
self.assertTrue(url.endswith(".zip"))

@patch("data_utils.park_priority.requests.get")
def test_get_latest_shapefile_url(self, mock_get):
def test_get_latest_shapefile_url_mock(self, mock_get):
"""
Test the get_latest_shapefile_url function.
"""
Expand Down

0 comments on commit f168877

Please sign in to comment.