Skip to content

Commit

Permalink
[6.15.z] [Test Fix] test_negative_generate_hostpkgcompare_nonexistent…
Browse files Browse the repository at this point in the history
…_host (#14079)

[Test Fix] test_negative_generate_hostpkgcompare_nonexistent_host (#14068)

Updating Assertion for test fix

(cherry picked from commit 51ad778)

Co-authored-by: Cole Higgins <[email protected]>
  • Loading branch information
Satellite-QE and ColeHiggins2 authored Feb 14, 2024
1 parent 0f01402 commit 4de97c7
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 4de97c7

Please sign in to comment.