Skip to content

Commit

Permalink
Test AlreadyInstalledCandidate
Browse files Browse the repository at this point in the history
  • Loading branch information
q0w committed Mar 25, 2022
1 parent 64ec9d0 commit 003749c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/functional/test_install_reqs.py
Original file line number Diff line number Diff line change
Expand Up @@ -839,3 +839,15 @@ def test_install_options_no_deps(script: PipTestEnvironment) -> None:
)
script.assert_installed(A="0.1.0")
script.assert_not_installed("B", "C")

# AlreadyInstalledCandidate should not install dependencies
script.pip(
"install",
"--no-cache-dir",
"--find-links",
script.scratch_path,
"-r",
requirements_txt,
"--only-binary=:all:",
)
script.assert_not_installed("B", "C")

0 comments on commit 003749c

Please sign in to comment.