diff --git a/tests/installation/test_chef.py b/tests/installation/test_chef.py index 9a7e63c75c9..6e84905ed90 100644 --- a/tests/installation/test_chef.py +++ b/tests/installation/test_chef.py @@ -50,6 +50,7 @@ def setup(mocker: MockerFixture, pool: RepositoryPool) -> None: mocker.patch.object(Factory, "create_pool", return_value=pool) +@pytest.mark.network def test_isolated_env_install_success(pool: RepositoryPool) -> None: with ephemeral_environment(Path(sys.executable)) as venv: env = IsolatedEnv(venv, pool) diff --git a/tests/installation/test_executor.py b/tests/installation/test_executor.py index dfc1adc2a4d..eb704ae5ac1 100644 --- a/tests/installation/test_executor.py +++ b/tests/installation/test_executor.py @@ -710,6 +710,7 @@ def test_executor_should_write_pep610_url_references_for_wheel_files( assert url.exists(), "source file should not be deleted" +@pytest.mark.network def test_executor_should_write_pep610_url_references_for_non_wheel_files( tmp_venv: VirtualEnv, pool: RepositoryPool,