Skip to content

Commit

Permalink
Add Stubbed test for realm provisioning (#13524)
Browse files Browse the repository at this point in the history
Signed-off-by: Shubham Ganar <[email protected]>
  • Loading branch information
shubhamsg199 authored Dec 20, 2023
1 parent 1f59e24 commit bc2f2cb
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/foreman/api/test_provisioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,3 +585,24 @@ def test_rhel_pxe_provisioning_fips_enabled(
# assert that the host is subscribed and consumes
# subsctiption provided by the activation key
assert provisioning_host.subscribed, 'Host is not subscribed'


@pytest.mark.stubbed
def test_rhel_provisioning_using_realm():
"""Provision a host using realm
:id: 687e7d71-7e46-46d5-939b-4562f88c4598
:steps:
1. Configure satellite for provisioning
2. Configure Satellite for Realm support
3. Provision a Host
4. Check host is subscribed to Satellite
:expectedresults:
1. Provisioning via Realm is successful
2. Check if the provisioned host is automatically registered to IdM
3. Host installs right version of RHEL
4. Satellite is able to run REX job on the host
5. Host is registered to Satellite and subscription status is 'Success'
"""

0 comments on commit bc2f2cb

Please sign in to comment.