diff options
| author | Benoit Pierre <benoit.pierre@gmail.com> | 2018-09-23 18:39:42 +0200 |
|---|---|---|
| committer | Alex Grönholm <alex.gronholm@nextday.fi> | 2018-09-23 19:39:42 +0300 |
| commit | fbb5ae7a2bd1043b15068b901037fb3b14607910 (patch) | |
| tree | 9f7b7ec8116d663cfc6700f27e7debc19379781a /tests | |
| parent | f3855494f20724f1ae844631d08e34367e977661 (diff) | |
| download | wheel-git-fbb5ae7a2bd1043b15068b901037fb3b14607910.tar.gz | |
Fixed handling of direct URL specifiers in requirements (#250)
Do not strip the URLs. Fixes #249.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_metadata.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_metadata.py b/tests/test_metadata.py index 3421430..78fe40d 100644 --- a/tests/test_metadata.py +++ b/tests/test_metadata.py @@ -9,6 +9,7 @@ def test_pkginfo_to_metadata(tmpdir): ('Provides-Extra', 'test'), ('Provides-Extra', 'signatures'), ('Provides-Extra', 'faster-signatures'), + ('Requires-Dist', "pip @ https://github.com/pypa/pip/archive/1.3.1.zip"), ('Requires-Dist', "ed25519ll; extra == 'faster-signatures'"), ('Requires-Dist', "keyring; extra == 'signatures'"), ('Requires-Dist', "keyrings.alt; extra == 'signatures'"), @@ -28,6 +29,8 @@ Provides-Extra: faster-signatures""") egg_info_dir = tmpdir.ensure_dir('test.egg-info') egg_info_dir.join('requires.txt').write("""\ +pip@https://github.com/pypa/pip/archive/1.3.1.zip + [faster-signatures] ed25519ll |
