Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the sub-man status #14783

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading