diff options
Diffstat (limited to 'tests/tox_env/python/pip/req/test_file.py')
-rw-r--r-- | tests/tox_env/python/pip/req/test_file.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/tox_env/python/pip/req/test_file.py b/tests/tox_env/python/pip/req/test_file.py index e387a8ac..a363328e 100644 --- a/tests/tox_env/python/pip/req/test_file.py +++ b/tests/tox_env/python/pip/req/test_file.py @@ -59,6 +59,16 @@ _REQ_FILE_TEST_CASES = [ ["-f", "http://some.archives.com/archives"], id="find-links url", ), + pytest.param( + "--index-url a --find-links http://some.archives.com/archives", + { + "index_url": ["a"], + "find_links": ["http://some.archives.com/archives"], + }, + [], + ["-i", "a", "-f", "http://some.archives.com/archives"], + id="index and find", + ), pytest.param("-i a", {"index_url": ["a"]}, [], ["-i", "a"], id="index url short"), pytest.param("--index-url a", {"index_url": ["a"]}, [], ["-i", "a"], id="index url long"), pytest.param("-i a -i b\n-i c", {"index_url": ["c"]}, [], ["-i", "c"], id="index url multiple"), |