change osm to arcgis
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user