Skip to content

Commit

Permalink
Small fix for SyncPlan test (#13661)
Browse files Browse the repository at this point in the history
(cherry picked from commit 07fa9bc)
  • Loading branch information
vsedmik authored and web-flow committed Jan 8, 2024
1 parent 1f36e53 commit 2b7526e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/foreman/cli/test_syncplan.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def test_positive_info_with_assigned_product(module_org, module_target_sat):
module_target_sat.cli.Product.set_sync_plan(
{'id': product['id'], 'sync-plan-id': sync_plan['id']}
)
updated_plan = module_target_sat.info({'id': sync_plan['id']})
updated_plan = module_target_sat.cli.SyncPlan.info({'id': sync_plan['id']})
assert len(updated_plan['products']) == 2
assert {prod['name'] for prod in updated_plan['products']} == {prod1, prod2}

Expand Down

0 comments on commit 2b7526e

Please sign in to comment.