Skip to content

Commit

Permalink
Updating Assertion for test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ColeHiggins2 committed Feb 13, 2024
1 parent f9e5fc6 commit 424c4df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/foreman/cli/test_reporttemplates.py
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ def test_negative_generate_hostpkgcompare_nonexistent_host(module_target_sat):
'inputs': 'Host 1 = nonexistent1, ' 'Host 2 = nonexistent2',
}
)
assert "At least one of the hosts couldn't be found" in cm.exception.stderr
assert "At least one of the hosts couldn't be found" in cm.value.stderr


@pytest.mark.rhel_ver_list([7, 8, 9])
Expand Down

0 comments on commit 424c4df

Please sign in to comment.