Skip to content

Commit 3e10c78

Browse files
author
doublebyte1
committed
- fix tile tests to find tms in either position of the array
1 parent 5ed31b4 commit 3e10c78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/api/test_tiles.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ def test_tilematrixsets(config, api_):
9494
assert 'tileMatrixSets' in root
9595
assert len(root['tileMatrixSets']) == 2
9696
assert 'http://www.opengis.net/def/tilematrixset/OGC/1.0/WorldCRS84Quad' \
97-
in root['tileMatrixSets'][0]['uri']
97+
in root['tileMatrixSets'][0]['uri'] or root['tileMatrixSets'][1]['uri']
9898
assert 'http://www.opengis.net/def/tilematrixset/OGC/1.0/WebMercatorQuad' \
99-
in root['tileMatrixSets'][1]['uri']
99+
in root['tileMatrixSets'][1]['uri'] or root['tileMatrixSets'][1]['uri']
100100

101101
req = mock_api_request({'f': 'html'})
102102
rsp_headers, code, response = tilematrixsets(api_, req)

0 commit comments

Comments
 (0)