Skip to content

Commit 894fbb6

Browse files
committed
Update test
1 parent a2f0b62 commit 894fbb6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_reinstall.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ def test_reinstall_pinned_package(pipx_temp_env, capsys):
7575
assert not run_pipx_cli(["pin", "black"])
7676
assert run_pipx_cli(["reinstall", "black"])
7777
captured = capsys.readouterr()
78-
assert "--unpin to unpin" in captured.err
78+
assert "pinned" in captured.err
7979

80-
assert not run_pipx_cli(["reinstall", "--unpin", "black"])
80+
assert not run_pipx_cli(["unpin", "black"])
81+
assert not run_pipx_cli(["reinstall", "black"])
8182
captured = capsys.readouterr()
8283
assert "installed package black" in captured.out

0 commit comments

Comments
 (0)