Fix failing test

This commit is contained in:
Twangboy 2022-10-03 10:00:47 -06:00 committed by Megan Wilhite
parent 895f415737
commit 775a6edaf6

View file

@ -363,7 +363,7 @@ def test_remove_kb_not_found():
with patch("salt.modules.win_dism.installed_packages", mock_search):
with pytest.raises(CommandExecutionError) as err:
dism.remove_kb("1001111")
assert str(err.value) == "KB1001111 not installed"
assert str(err.value) == "1001111 not installed"
def test_installed_packages():