tests: update error message test to match new python-requests version
This commit is contained in:
parent
c857d0a741
commit
fd8bc9d51f
|
@ -288,11 +288,11 @@ def test_get_geojson(app, layer, user):
|
|||
|
||||
geojson_url = reverse('mapcell-geojson', kwargs={'cell_id': cell.id, 'layer_slug': layer.slug})
|
||||
|
||||
# invalid url - missing schema
|
||||
# invalid url - missing scheme
|
||||
resp = app.get(geojson_url)
|
||||
assert len(resp.json['features']) == 0
|
||||
assert resp.json['_combo_err_desc'] == (
|
||||
"Bad response from requested URL (Invalid URL 'geojson?t1': No schema supplied. "
|
||||
"Bad response from requested URL (Invalid URL 'geojson?t1': No scheme supplied. "
|
||||
"Perhaps you meant http://geojson?t1?)"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue