From 2b7526ef9ad063e654b6e07214676d346f23ea91 Mon Sep 17 00:00:00 2001 From: vsedmik <46570670+vsedmik@users.noreply.github.com> Date: Mon, 8 Jan 2024 21:36:47 +0100 Subject: [PATCH] Small fix for SyncPlan test (#13661) (cherry picked from commit 07fa9bcb0ec24c12885df11fd1c87f5e2339f19a) --- tests/foreman/cli/test_syncplan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/foreman/cli/test_syncplan.py b/tests/foreman/cli/test_syncplan.py index b6dc18e9bc6..483a7145c85 100644 --- a/tests/foreman/cli/test_syncplan.py +++ b/tests/foreman/cli/test_syncplan.py @@ -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}