Skip to content

Commit

Permalink
[6.12.z] Fix server_config in subscription test (#14233)
Browse files Browse the repository at this point in the history
  • Loading branch information
Satellite-QE authored Mar 1, 2024
1 parent 941b99b commit b9825d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/foreman/api/test_subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,11 @@ def test_positive_delete_manifest_as_another_user(
)
# use the first admin to upload a manifest
with function_entitlement_manifest as manifest:
target_sat.api.Subscription(sc1, organization=function_org).upload(
target_sat.api.Subscription(server_config=sc1, organization=function_org).upload(
data={'organization_id': function_org.id}, files={'content': manifest.content}
)
# try to search and delete the manifest with another admin
target_sat.api.Subscription(sc2, organization=function_org).delete_manifest(
target_sat.api.Subscription(server_config=sc2, organization=function_org).delete_manifest(
data={'organization_id': function_org.id}
)
assert len(target_sat.cli.Subscription.list({'organization-id': function_org.id})) == 0
Expand Down

0 comments on commit b9825d4

Please sign in to comment.