Skip to content

Commit 003749c

Browse files
committed
Test AlreadyInstalledCandidate
1 parent 64ec9d0 commit 003749c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/functional/test_install_reqs.py

+12
Original file line numberDiff line numberDiff line change
@@ -839,3 +839,15 @@ def test_install_options_no_deps(script: PipTestEnvironment) -> None:
839839
)
840840
script.assert_installed(A="0.1.0")
841841
script.assert_not_installed("B", "C")
842+
843+
# AlreadyInstalledCandidate should not install dependencies
844+
script.pip(
845+
"install",
846+
"--no-cache-dir",
847+
"--find-links",
848+
script.scratch_path,
849+
"-r",
850+
requirements_txt,
851+
"--only-binary=:all:",
852+
)
853+
script.assert_not_installed("B", "C")

0 commit comments

Comments
 (0)