Skip to content

Commit

Permalink
Merge pull request #2388 from rcomer/wms-404
Browse files Browse the repository at this point in the history
xfail WMS tile tests
  • Loading branch information
dopplershift authored May 20, 2024
2 parents 6adeeaa + f27008b commit 88bf44b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@
'../../examples/web_services/reprojected_wmts.py',
'../../examples/web_services/wmts.py',
'../../examples/web_services/wmts_time.py',
# OSGeo WMS has been shut off
# https://discourse.osgeo.org/t/map-tile-loading-pin-location-issues/6910/2
'../../examples/web_services/wms.py'
],
'filename_pattern': '^((?!sgskip).)*$',
'gallery_dirs': ['gallery'],
Expand Down
1 change: 1 addition & 0 deletions lib/cartopy/tests/io/test_ogc_clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@


@pytest.mark.network
@pytest.mark.xfail(reason='URL no longer valid')
@pytest.mark.skipif(not _OWSLIB_AVAILABLE, reason='OWSLib is unavailable.')
class TestWMSRasterSource:
URI = 'http://vmap0.tiles.osgeo.org/wms/vmap0'
Expand Down
2 changes: 2 additions & 0 deletions lib/cartopy/tests/mpl/test_web_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def test_wmts():


@pytest.mark.network
@pytest.mark.xfail(reason='URL no longer valid')
@pytest.mark.skipif(not _OWSLIB_AVAILABLE, reason='OWSLib is unavailable.')
def test_wms_tight_layout():
ax = plt.axes(projection=ccrs.PlateCarree())
Expand All @@ -41,6 +42,7 @@ def test_wms_tight_layout():


@pytest.mark.network
@pytest.mark.xfail(reason='URL no longer valid')
@pytest.mark.skipif(not _OWSLIB_AVAILABLE, reason='OWSLib is unavailable.')
@pytest.mark.mpl_image_compare(filename='wms.png', tolerance=0.02)
def test_wms():
Expand Down

0 comments on commit 88bf44b

Please sign in to comment.