Commit ce8f29fa authored by Jason R. Coombs's avatar Jason R. Coombs Committed by GitHub

Merge pull request #2515 from pypa/bugfix/safe-test-test

Avoid hitting network during test_virtualenv.test_test_command.
parents 36233fe3 3d4b6b0b
Avoid hitting network during test_virtualenv.test_test_command.
......@@ -179,6 +179,10 @@ def test_test_command_install_requirements(virtualenv, tmpdir):
# Ensure pip/wheel packages are installed.
virtualenv.run(
"python -c \"__import__('pkg_resources').require(['pip', 'wheel'])\"")
# uninstall setuptools so that 'setup.py develop' works
virtualenv.run("python -m pip uninstall -y setuptools")
# disable index URL so bits and bobs aren't requested from PyPI
virtualenv.env['PIP_NO_INDEX'] = '1'
_check_test_command_install_requirements(virtualenv, tmpdir)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment