Skip to content

Commit

Permalink
Fix server_config in subscription test (#14226)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsedmik authored Mar 1, 2024
1 parent 81a58af commit 3ebc7c8
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 @@ -203,11 +203,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 3ebc7c8

Please sign in to comment.