Skip to content

Commit 3a6cf4b

Browse files
committed
- fixed wms_facade test
1 parent 2f9eed4 commit 3a6cf4b

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎tests/provider/test_wms_facade_provider.py‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,12 @@ def test_crs_query(config):
6262
results1 = p.query(crs='http://www.opengis.net/def/crs/EPSG/0/4326')
6363
results2 = p.query(crs='http://www.opengis.net/def/crs/EPSG/0/3857')
6464

65+
print(results1)
66+
6567
check_is_PNG(results1)
6668
check_is_PNG(results2)
6769

68-
# This should fail for an invalid crs
69-
with pytest.raises(ProviderQueryError) as error:
70-
p.query(crs='http://0000')
70+
# An invalid crs should default to default crs
71+
results3 = p.query(crs='http://0000')
7172

72-
assert "ServiceException" in str(error.value)
73+
check_is_PNG(results3)

0 commit comments

Comments
 (0)