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] Update test_positive_configure_cloud_connector #13926

Merged
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
10 changes: 8 additions & 2 deletions tests/foreman/ui/test_rhc.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from datetime import datetime, timedelta

from fauxfactory import gen_string
from manifester import Manifester
import pytest

from robottelo import constants
Expand Down Expand Up @@ -65,11 +66,16 @@ def fixture_setup_rhc_satellite(
request,
module_target_sat,
module_rhc_org,
module_extra_rhel_sca_manifest,
):
"""Create Organization and activation key after successful test execution"""
if settings.rh_cloud.crc_env == 'prod':
module_target_sat.upload_manifest(module_rhc_org.id, module_extra_rhel_sca_manifest.content)
manifester = Manifester(
allocation_name=module_rhc_org.name,
manifest_category=settings.manifest.extra_rhel_entitlement,
simple_content_access="enabled",
)
rhcloud_manifest = manifester.get_manifest()
module_target_sat.upload_manifest(module_rhc_org.id, rhcloud_manifest.content)
yield
if request.node.rep_call.passed:
# Enable and sync required repos
Expand Down
Loading