Skip to content

Commit

Permalink
Compare using lower case
Browse files Browse the repository at this point in the history
  • Loading branch information
twangboy authored and Megan Wilhite committed Nov 22, 2022
1 parent 622d2cd commit 7d2b72b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/pytests/unit/modules/test_win_pkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ def test_pkg_install_log_message(caplog):
assert (
'PKG : cmd: C:\\WINDOWS\\system32\\cmd.exe /s /c "runme.exe" /s -e '
"True -test_flag True"
) in caplog.messages
assert "PKG : pwd: " in caplog.messages
).lower() in [x.lower() for x in caplog.messages]
assert "PKG : pwd: ".lower() in [x.lower() for x in caplog.messages]
assert "PKG : retcode: 0" in caplog.messages


Expand Down

0 comments on commit 7d2b72b

Please sign in to comment.