From c0046b02a8cd745f15b916df83af8bbfd79f6812 Mon Sep 17 00:00:00 2001 From: Drew Leonard Date: Wed, 12 Feb 2025 10:56:27 +0000 Subject: [PATCH] Skip failing Windows test until we can fix it --- dkist/data/tests/test_sample.py | 2 ++ 1 file changed, 2 insertions(+) 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): """