Skip to content

Commit

Permalink
tests: tweak test_pip_wheel_with_user_set_in_config (#5428)
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit-pierre authored and pradyunsg committed May 31, 2018
1 parent bc0d0d3 commit 1335eba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/functional/test_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,13 @@ def test_pip_wheel_with_pep518_build_reqs_no_isolation(script, data,


@pytest.mark.network
def test_pip_wheel_with_user_set_in_config(script, data):
script.pip('install', 'wheel')
script.pip('download', 'setuptools', 'wheel', '-d', data.packages)
def test_pip_wheel_with_user_set_in_config(script, data, common_wheels):
script.pip_install_local('-f', common_wheels, 'wheel')
config_file = script.scratch_path / 'pip.conf'
script.environ['PIP_CONFIG_FILE'] = str(config_file)
config_file.write("[install]\nuser = true")
result = script.pip(
'wheel', data.src / 'withpyproject',
'--no-index', '-f', common_wheels
)
assert "Successfully built withpyproject" in result.stdout, result.stdout

0 comments on commit 1335eba

Please sign in to comment.