Skip to content

Commit

Permalink
[Test Fix] test_negative_generate_hostpkgcompare_nonexistent_host (#1…
Browse files Browse the repository at this point in the history
…4068)

Updating Assertion for test fix
  • Loading branch information
ColeHiggins2 authored Feb 14, 2024
1 parent 8f6ce39 commit 51ad778
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 51ad778

Please sign in to comment.