Skip to content

Commit 4ebce0e

Browse files
musicinmybrainofek
andauthored
Add pytest.mark.requires_internet to a few more tests (#1665)
Co-authored-by: Ofek Lev <ofekmeister@gmail.com>
1 parent 3b203e3 commit 4ebce0e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/cli/env/test_create.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ def test_uv_shipped(hatch, helpers, temp_dir, config_file):
186186
assert env_path.name == 'test'
187187

188188

189+
@pytest.mark.requires_internet
189190
def test_uv_env(hatch, helpers, temp_dir, config_file):
190191
config_file.model.template.plugins['default']['tests'] = False
191192
config_file.save()

tests/cli/run/test_run.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2516,6 +2516,7 @@ def test_unsupported_python_version(self, hatch, helpers, temp_dir):
25162516
"""
25172517
)
25182518

2519+
@pytest.mark.requires_internet
25192520
def test_python_version_constraint(self, hatch, helpers, temp_dir):
25202521
data_path = temp_dir / 'data'
25212522
data_path.mkdir()

0 commit comments

Comments
 (0)