diff --git a/data/src/test/test_data_utils.py b/data/src/test/test_data_utils.py index 4b160413..ab8ed8df 100644 --- a/data/src/test/test_data_utils.py +++ b/data/src/test/test_data_utils.py @@ -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. """