Skip to content

Commit

Permalink
Amend test_ignore_incompatible_existing_pins to cover subdeps
Browse files Browse the repository at this point in the history
  • Loading branch information
AndydeCleyre authored and atugushev committed Jun 29, 2022
1 parent 059a271 commit 7d5caa9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_cli_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,10 +706,10 @@ def test_ignore_incompatible_existing_pins(pip_conf, runner):
"""
Successfully compile when existing output pins conflict with input.
"""
with open("requirements.txt", "w") as req_txt:
req_txt.write("small-fake-a==0.2\nsmall-fake-b==0.2")
with open("requirements.in", "w") as req_in:
req_in.write("small-fake-b>0.1")
with open("requirements.txt", "w") as req_in:
req_in.write("small-fake-b==0.1")
req_in.write("small-fake-with-deps\nsmall-fake-b<0.2")

out = runner.invoke(cli, [])

Expand Down

0 comments on commit 7d5caa9

Please sign in to comment.