Skip to content

Commit

Permalink
Fix Yoda condition
Browse files Browse the repository at this point in the history
  • Loading branch information
realshouzy committed Jul 11, 2024
1 parent 3a8c84c commit 4356f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pip_review_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ def test_main_no_outdated_packages(
), mock.patch("os.getenv", return_value=None):
exit_code: int = pip_review.main([arg])

assert [("pip-review", 20, "Everything up-to-date")] == caplog.record_tuples
assert caplog.record_tuples == [("pip-review", 20, "Everything up-to-date")]
assert exit_code == 0


Expand Down

0 comments on commit 4356f37

Please sign in to comment.