diff --git a/pkgs/development/python-modules/owslib/default.nix b/pkgs/development/python-modules/owslib/default.nix index e67dc18143fb..645715a4f0af 100644 --- a/pkgs/development/python-modules/owslib/default.nix +++ b/pkgs/development/python-modules/owslib/default.nix @@ -51,22 +51,10 @@ buildPythonPackage rec { export PY_IGNORE_IMPORTMISMATCH=1 ''; - disabledTests = - [ - # Tests require network access - "test_ows_interfaces_wcs" - "test_wfs_110_remotemd" - "test_wfs_200_remotemd" - "test_wms_130_remotemd" - "test_wmts_example_informatievlaanderen" - "test_opensearch_creodias" - ] - ++ lib.optionals stdenv.isDarwin [ - "test_ogcapi_processes_pygeoapi" - "test_ogcapi_records_pycsw" - "test_ogcapi_records_pygeoapi" - "test_wms_getfeatureinfo_130" - ]; + pytestFlagsArray = [ + # disable tests which require network access + "-m 'not online'" + ]; meta = with lib; { description = "Client for Open Geospatial Consortium web service interface standards";