Skip to content

Commit

Permalink
Fix server_config in subscription test (SatelliteQE#14226)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsedmik authored and shweta83 committed Apr 10, 2024
1 parent 339e3f2 commit 80c8151
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 80c8151

Please sign in to comment.