summaryrefslogtreecommitdiff
path: root/tests/functional/test_install_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/test_install_config.py')
-rw-r--r--tests/functional/test_install_config.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/functional/test_install_config.py b/tests/functional/test_install_config.py
index 72438162a..da041af10 100644
--- a/tests/functional/test_install_config.py
+++ b/tests/functional/test_install_config.py
@@ -200,8 +200,9 @@ def test_options_from_venv_config(script, virtualenv):
@pytest.mark.network
-def test_install_no_binary_via_config_disables_cached_wheels(script, data):
- script.pip('install', 'wheel')
+def test_install_no_binary_via_config_disables_cached_wheels(
+ script, data, common_wheels):
+ script.pip('install', 'wheel', '--no-index', '-f', common_wheels)
config_file = tempfile.NamedTemporaryFile(mode='wt')
script.environ['PIP_CONFIG_FILE'] = config_file.name
config_file.write(textwrap.dedent("""\