Skip to content

Commit

Permalink
Remove the sub-man status
Browse files Browse the repository at this point in the history
  • Loading branch information
shweta83 committed Apr 16, 2024
1 parent db5b3d5 commit 3ed4f9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions tests/foreman/api/test_convert2rhel.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,6 @@ def test_convert2rhel_oracle(module_target_sat, oracle, activation_key_rhel, ver
or host_content['operatingsystem_name'].startswith(f'RedHat {version}')
or host_content['operatingsystem_name'].startswith(f'RHEL {version}')
)
assert host_content['subscription_status_label'] == 'Simple Content Access'
assert host_content['subscription_status'] == 5


@pytest.mark.e2e
Expand Down Expand Up @@ -349,5 +347,3 @@ def test_convert2rhel_centos(module_target_sat, centos, activation_key_rhel, ver
or host_content['operatingsystem_name'].startswith(f'RedHat {version}')
or host_content['operatingsystem_name'].startswith(f'RHEL {version}')
)
assert host_content['subscription_status_label'] == 'Simple Content Access'
assert host_content['subscription_status'] == 5
6 changes: 3 additions & 3 deletions tests/foreman/cli/test_registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ def test_positive_force_register_twice(module_ak_with_cv, module_org, rhel_conte
assert f'The system has been registered with ID: {reg_id_new}' in str(result.stdout)
assert reg_id_new != reg_id_old
assert (
target_sat.cli.Host.info({'name': rhel_contenthost.hostname})['subscription-information'][
'uuid'
]
target_sat.cli.Host.info({'name': rhel_contenthost.hostname}, output_format='json')[
'subscription-information'
]['uuid']
== reg_id_new
)

Expand Down

0 comments on commit 3ed4f9d

Please sign in to comment.