diff --git a/tests/test_maps_cells.py b/tests/test_maps_cells.py index 28de0f21..928e55af 100644 --- a/tests/test_maps_cells.py +++ b/tests/test_maps_cells.py @@ -298,10 +298,7 @@ def test_get_geojson(app, layer, user): # 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 scheme supplied. " - "Perhaps you meant http://geojson?t1?)" - ) + assert resp.json['_combo_err_desc'].startswith("Bad response from requested URL (Invalid URL") layer.geojson_url = 'http://example.org/geojson?t1' layer.save()