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

[6.14.z] Acs test coverage #12957

Merged
merged 7 commits into from
Oct 20, 2023
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
15 changes: 15 additions & 0 deletions pytest_fixtures/component/taxonomy.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@ def module_sca_manifest_org(module_org, module_sca_manifest, module_target_sat):
return module_org


@pytest.fixture(scope='class')
def class_sca_manifest_org(class_org, class_sca_manifest, class_target_sat):
"""Creates an organization and uploads an SCA mode manifest generated with manifester"""
class_target_sat.upload_manifest(class_org.id, class_sca_manifest.content)
return class_org


@pytest.fixture(scope='module')
def module_extra_rhel_entitlement_manifest_org(
module_target_sat,
Expand Down Expand Up @@ -197,6 +204,14 @@ def module_sca_manifest():
yield manifest


@pytest.fixture(scope='class')
def class_sca_manifest():
"""Yields a manifest in Simple Content Access mode with subscriptions determined by the
`manifest_category.golden_ticket` setting in conf/manifest.yaml."""
with Manifester(manifest_category=settings.manifest.golden_ticket) as manifest:
yield manifest


@pytest.fixture(scope='function')
def function_entitlement_manifest():
"""Yields a manifest in entitlement mode with subscriptions determined by the
Expand Down
3 changes: 2 additions & 1 deletion robottelo/constants/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ class Colored(Box):
'yum': "yum",
'ostree': "ostree",
'docker': "docker",
"ansible_collection": "ansible collection",
'ansible_collection': "ansible collection",
'file': "file",
}

DOWNLOAD_POLICIES = {
Expand Down
Loading