From 1234059d947a08986b60152538323e86b57778c0 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 4 Aug 2024 15:29:29 -0400 Subject: [PATCH] Add pytest.mark.requires_internet to a few more tests --- tests/cli/env/test_create.py | 1 + tests/cli/run/test_run.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/cli/env/test_create.py b/tests/cli/env/test_create.py index 7106f4479..25d42f861 100644 --- a/tests/cli/env/test_create.py +++ b/tests/cli/env/test_create.py @@ -186,6 +186,7 @@ def test_uv_shipped(hatch, helpers, temp_dir, config_file): assert env_path.name == 'test' +@pytest.mark.requires_internet def test_uv_env(hatch, helpers, temp_dir, config_file): config_file.model.template.plugins['default']['tests'] = False config_file.save() diff --git a/tests/cli/run/test_run.py b/tests/cli/run/test_run.py index 072ba9833..16cccf629 100644 --- a/tests/cli/run/test_run.py +++ b/tests/cli/run/test_run.py @@ -2516,6 +2516,7 @@ def test_unsupported_python_version(self, hatch, helpers, temp_dir): """ ) + @pytest.mark.requires_internet def test_python_version_constraint(self, hatch, helpers, temp_dir): data_path = temp_dir / 'data' data_path.mkdir()