Skip to content

Commit

Permalink
[6.14.z] Component Evaluation - add RHEL 8 and 9 host versions (#13783)
Browse files Browse the repository at this point in the history
  • Loading branch information
Satellite-QE authored Jan 15, 2024
1 parent dc39f4d commit d3f0ba4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tests/foreman/ui/test_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -1454,8 +1454,9 @@ def test_global_registration_upgrade_subscription_manager(

@pytest.mark.tier3
@pytest.mark.usefixtures('enable_capsule_for_registration')
@pytest.mark.rhel_ver_match('[^6].*')
def test_global_re_registration_host_with_force_ignore_error_options(
session, module_activation_key, default_os, default_smart_proxy, rhel7_contenthost
session, module_activation_key, default_os, default_smart_proxy, rhel_contenthost
):
"""If the ignore_error and force checkbox is checked then registered host can
get re-registered without any error.
Expand All @@ -1473,7 +1474,7 @@ def test_global_re_registration_host_with_force_ignore_error_options(
:parametrized: yes
"""
client = rhel7_contenthost
client = rhel_contenthost
with session:
cmd = session.host.get_register_command(
{
Expand All @@ -1485,11 +1486,13 @@ def test_global_re_registration_host_with_force_ignore_error_options(
'advanced.ignore_error': True,
}
)
client.execute(cmd)
result = client.execute(cmd)
assert result.status == 0
result = client.execute('subscription-manager identity')
assert result.status == 0
# rerun the register command
client.execute(cmd)
result = client.execute(cmd)
assert result.status == 0
result = client.execute('subscription-manager identity')
assert result.status == 0

Expand Down

0 comments on commit d3f0ba4

Please sign in to comment.