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

update fixture name as per expected feature #14375

Merged
merged 2 commits into from
Mar 13, 2024
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
6 changes: 3 additions & 3 deletions tests/foreman/api/test_subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ def test_positive_os_restriction_on_repos():
"""


def test_positive_async_endpoint_for_manifest_refresh(target_sat, module_entitlement_manifest_org):
def test_positive_async_endpoint_for_manifest_refresh(target_sat, function_sca_manifest_org):
"""Verify that manifest refresh is using an async endpoint. Previously this was a single,
synchronous endpoint. The endpoint to retrieve manifests is now split into two: an async
endpoint to start "exporting" the manifest, and a second endpoint to download the
Expand All @@ -461,12 +461,12 @@ def test_positive_async_endpoint_for_manifest_refresh(target_sat, module_entitle

:BZ: 2066323
"""
sub = target_sat.api.Subscription(organization=module_entitlement_manifest_org)
sub = target_sat.api.Subscription(organization=function_sca_manifest_org)
# set log level to 'debug' and restart services
target_sat.cli.Admin.logging({'all': True, 'level-debug': True})
target_sat.cli.Service.restart()
# refresh manifest and assert new log message to confirm async endpoint
sub.refresh_manifest(data={'organization_id': module_entitlement_manifest_org.id})
sub.refresh_manifest(data={'organization_id': function_sca_manifest_org.id})
results = target_sat.execute(
'grep "Sending GET request to upstream Candlepin" /var/log/foreman/production.log'
)
Expand Down
Loading