change osm to arcgis
This commit is contained in:
@@ -222,16 +222,18 @@ class PermissionsViewTests(TestCase):
|
||||
@patch('requests.get',side_effect=mocked_requests)
|
||||
@patch('requests.post',side_effect=mocked_requests)
|
||||
@patch('rowers.dataprep.get_video_data',side_effect=mocked_get_video_data)
|
||||
@patch('django.contrib.gis.geoip2.GeoIP2.city', side_effect=mocked_requests)
|
||||
def test_permissions_anonymous(
|
||||
self,view,permissions,
|
||||
mock_Session,
|
||||
mock_c2open,
|
||||
mocked_sqlalchemy,
|
||||
mocked_read_df_sql,
|
||||
mocked_read_data,
|
||||
mock_get,
|
||||
mock_post,
|
||||
mocked_get_video_data,
|
||||
self,view,permissions,
|
||||
mock_Session,
|
||||
mock_c2open,
|
||||
mocked_sqlalchemy,
|
||||
mocked_read_df_sql,
|
||||
mocked_read_data,
|
||||
mock_get,
|
||||
mock_post,
|
||||
mocked_get_video_data,
|
||||
mock_get2,
|
||||
):
|
||||
|
||||
if permissions['anonymous'] and not permissions['is_staff'] and permissions['dotest']:
|
||||
|
||||
Reference in New Issue
Block a user