Skip to content

Commit

Permalink
[Test Fix] test_negative_generate_hostpkgcompare_nonexistent_host (Sa…
Browse files Browse the repository at this point in the history
…telliteQE#14068)

Updating Assertion for test fix
  • Loading branch information
ColeHiggins2 authored and shweta83 committed Apr 10, 2024
1 parent 012762b commit 380d1b7
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 380d1b7

Please sign in to comment.