Skip to content

Commit

Permalink
addressing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ColeHiggins2 committed Jun 4, 2024
1 parent e3fe63d commit e219ee3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/foreman/api/test_reporttemplates.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,11 +715,7 @@ def test_positive_generate_job_report(setup_content, module_target_sat, content_
'input_values': {"job_id": job["id"]},
}
)
assert (
res[0]['Host'] == content_hosts[0].hostname and res[1]['Host'] == content_hosts[1].hostname
) or (
res[0]['Host'] == content_hosts[1].hostname and res[1]['Host'] == content_hosts[0].hostname
)
assert {i['Host'] for i in res} == {i.hostname for i in content_hosts}
assert '/root' in res[0]['stdout']
assert '/root' in res[1]['stdout']

Expand Down

0 comments on commit e219ee3

Please sign in to comment.