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 5234c96
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/functional/test_install_reqs.py
Original file line number Diff line number Diff line change
Expand Up @@ -839,3 +839,16 @@ 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_installed(A="0.1.0")
script.assert_not_installed("B", "C")

0 comments on commit 5234c96

Please sign in to comment.