Skip to content

Commit

Permalink
keyword argument server config required (#13427)
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaysawant authored Dec 13, 2023
1 parent 677b81c commit e5ee959
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 e5ee959

Please sign in to comment.