Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pytest.mark.requires_internet to a few more tests #1665

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/cli/env/test_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
1 change: 1 addition & 0 deletions tests/cli/run/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Loading