Skip to content

Commit

Permalink
[6.15.z] Add Closedloop BZ#2153548 (#13486)
Browse files Browse the repository at this point in the history
  • Loading branch information
Satellite-QE authored Dec 19, 2023
1 parent 361f7ab commit a708302
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/foreman/api/test_provisioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,11 @@ def test_rhel_pxe_provisioning(
)
assert job['result'] == 'success', 'Job invocation failed'

# check if katello-ca-consumer is not used while host registration
assert provisioning_host.execute('rpm -qa |grep katello-ca-consumer').status == 1
assert (
'katello-ca-consumer' not in provisioning_host.execute('cat /root/install.post.log').stdout
)
# assert that the host is subscribed and consumes
# subsctiption provided by the activation key
assert provisioning_host.subscribed, 'Host is not subscribed'
Expand Down

0 comments on commit a708302

Please sign in to comment.