Skip to content

Commit

Permalink
[6.13.z] Add Stubbed test for realm provisioning (#13526)
Browse files Browse the repository at this point in the history
Add Stubbed test for realm provisioning (#13524)

Signed-off-by: Shubham Ganar <[email protected]>
(cherry picked from commit bc2f2cb)

Co-authored-by: Shubham Ganar <[email protected]>
  • Loading branch information
Satellite-QE and shubhamsg199 authored Dec 20, 2023
1 parent 885e263 commit 26d38a3
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 @@ -580,3 +580,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 26d38a3

Please sign in to comment.