Skip to content

Commit c5c3a61

Browse files
authored
TST: xfail GeoportailFrance (#187)
1 parent 2764f17 commit c5c3a61

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

xyzservices/tests/test_providers.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,13 @@ def test_free_providers(name):
104104
provider = flat_free[name]
105105
if "Stadia" in name:
106106
pytest.skip("Stadia doesn't support tile download in this way.")
107-
get_test_result(provider)
107+
elif "GeoportailFrance" in name:
108+
try:
109+
get_test_result(provider)
110+
except ValueError:
111+
pytest.xfail("GeoportailFrance API is unstable.")
112+
else:
113+
get_test_result(provider)
108114

109115

110116
# test providers requiring API keys. Store API keys in GitHub secrets and load them as

0 commit comments

Comments
 (0)