Skip to content

Commit

Permalink
Fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
twangboy committed Mar 27, 2023
1 parent 788757d commit bf17ec0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/pytests/unit/modules/test_win_pkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,8 +636,10 @@ def test_pkg_remove_minion_error_salt():
(
("2.24.0", "2.23.0.windows.1", 1),
("2.23.0.windows.2", "2.23.0.windows.1", 1),
)
),
)
def test__reverse_cmp_pkg_versions(v1, v2, expected):
result = win_pkg._reverse_cmp_pkg_versions(v1, v2)
assert result == expected, "cmp({}, {}) should be {}, got {}".format(v1, v2, wanted, res)
assert result == expected, "cmp({}, {}) should be {}, got {}".format(
v1, v2, wanted, result
)

0 comments on commit bf17ec0

Please sign in to comment.