diff --git a/dkist/data/tests/test_sample.py b/dkist/data/tests/test_sample.py index 10ba7046..2ba2c412 100644 --- a/dkist/data/tests/test_sample.py +++ b/dkist/data/tests/test_sample.py @@ -1,4 +1,5 @@ import os +import platform from unittest.mock import call import pytest @@ -29,6 +30,7 @@ def test_module_getattr(mocker, attrname): mock.assert_has_calls([call(attrname), call().__getitem__(0)]) +@pytest.mark.skipif(platform.system() == "Windows", reason="Internet not properly disabled on Windows") @pytest.mark.internet_off def test_fail(tmp_sample_dir): """