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

Add a couple of fixes for PIT #15314

Merged
merged 1 commit into from
Jun 5, 2024
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
2 changes: 1 addition & 1 deletion tests/foreman/api/test_errata.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,7 @@ def test_positive_install_in_hc(
@pytest.mark.rhel_ver_match('[^6]')
@pytest.mark.no_containers
@pytest.mark.e2e
@pytest.mark.pit_client
def test_positive_install_multiple_in_host(
target_sat, rhel_contenthost, module_org, activation_key, module_lce
):
Expand Down Expand Up @@ -1377,7 +1378,6 @@ def errata_host_lce(module_sca_manifest_org, target_sat):

@pytest.mark.tier3
@pytest.mark.upgrade
@pytest.mark.pit_client
@pytest.mark.no_containers
@pytest.mark.rhel_ver_match('8')
def test_errata_installation_with_swidtags(
Expand Down
5 changes: 4 additions & 1 deletion tests/foreman/api/test_subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,10 @@ def test_sca_end_to_end(
content_view.publish()
assert len(content_view.repository) == 2
host = rhel_contenthost.nailgun_host
host.content_facet_attributes = {'content_view_id': content_view.id}
host.content_facet_attributes = {
'content_view_id': content_view.id,
'lifecycle_environment_id': module_ak.environment.id,
}
host.update(['content_facet_attributes'])
rhel_contenthost.run('subscription-manager repos --enable *')
repos = rhel_contenthost.run('subscription-manager refresh && yum repolist')
Expand Down
2 changes: 1 addition & 1 deletion tests/foreman/cli/test_contentaccess.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def vm(
)
host_id = host[0].id
host_content = module_target_sat.api.Host(id=host_id).read_json()
assert host_content["subscription_status"] == 5
assert host_content['subscription_facet_attributes']['uuid']
rhel7_contenthost_module.install_katello_host_tools()
return rhel7_contenthost_module

Expand Down
Loading