Private
Public Access
1
0

change osm to arcgis

This commit is contained in:
2024-06-13 11:07:29 +02:00
parent 9db84cf16b
commit 5e1169fd2c
8 changed files with 118 additions and 38 deletions

View File

@@ -198,6 +198,7 @@ class URLTests(TestCase):
@patch('requests.post',side_effect=mocked_requests)
@patch('rowers.dataprep.get_video_data',side_effect=mocked_get_video_data)
@patch('rowers.views.statements.sendmail',side_effect=mocked_sendmail)
@patch('django.contrib.gis.geoip2.GeoIP2.city', side_effect=mocked_requests)
def test_url_generator(self,url,expected,
mocked_sqlalchemy,
mocked_read_df_sql,
@@ -205,7 +206,8 @@ class URLTests(TestCase):
mock_get,
mock_post,
mocked_get_video_data,
mocked_sendmail):
mocked_sendmail,
mock_get2):
if url not in tested:
login = self.c.login(username='john',password='koeinsloot')