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

(cherry picked from commit 51ad778)
  • Loading branch information
ColeHiggins2 authored and web-flow committed Feb 14, 2024
1 parent a7cb6c5 commit fee2d2a
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 @@ -985,7 +985,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 fee2d2a

Please sign in to comment.