diff options
author | Donald Stufft <donald@stufft.io> | 2016-11-03 08:29:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-03 08:29:58 -0400 |
commit | 20cae694dd2841e15ec0a0d92765e43b7fad0036 (patch) | |
tree | d8cee97b55a3009fb9bcc9906bf8f3b5a15b0e55 /tests/functional/test_install_reqs.py | |
parent | 382a7e111be499195c1b3321ff6d649c34605992 (diff) | |
download | pip-revert-3724-norm-path.tar.gz |
Revert "Normalize file URLs"revert-3724-norm-path
Diffstat (limited to 'tests/functional/test_install_reqs.py')
-rw-r--r-- | tests/functional/test_install_reqs.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/functional/test_install_reqs.py b/tests/functional/test_install_reqs.py index 53f47a34a..c78a21786 100644 --- a/tests/functional/test_install_reqs.py +++ b/tests/functional/test_install_reqs.py @@ -337,29 +337,6 @@ def test_constrained_to_url_install_same_url(script, data): assert 'Running setup.py install for singlemodule' in result.stdout -def test_constraints_constrain_to_local_dotdot(script, data): - to_install = data.src.join("singlemodule/subdir/..") - script.scratch_path.join("constraints.txt").write( - "file://%s#egg=singlemodule" % to_install - ) - result = script.pip( - 'install', '--no-index', '-f', data.find_links, '-c', - script.scratch_path / 'constraints.txt', to_install) - assert 'Running setup.py install for singlemodule' in result.stdout - - -def test_constraints_constrain_to_local_extraslash(script, data): - to_install = data.src.join("singlemodule") - to_install = '//'.join(to_install.rsplit('/', 1)) - script.scratch_path.join("constraints.txt").write( - "file://%s#egg=singlemodule" % to_install - ) - result = script.pip( - 'install', '--no-index', '-f', data.find_links, '-c', - script.scratch_path / 'constraints.txt', to_install) - assert 'Running setup.py install for singlemodule' in result.stdout - - @pytest.mark.network def test_double_install_spurious_hash_mismatch(script, tmpdir): """Make sure installing the same hashed sdist twice doesn't throw hash |