From 8f5e7aab60174a13fb5a49ebce53528a41859a49 Mon Sep 17 00:00:00 2001 From: dosas Date: Fri, 1 Mar 2024 15:43:48 +0100 Subject: [PATCH] Call function parameters by key-value (#14225) Fix TypeError: got multiple values for argument 'server_config' --- tests/foreman/api/test_role.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/foreman/api/test_role.py b/tests/foreman/api/test_role.py index e44b0f8d844..1ce1014f269 100644 --- a/tests/foreman/api/test_role.py +++ b/tests/foreman/api/test_role.py @@ -1195,7 +1195,7 @@ def test_positive_taxonomies_control_to_superadmin_with_org_admin( # Creating resource dom_name = gen_string('alpha') dom = target_sat.api.Domain( - sc, + server_config=sc, name=dom_name, organization=[role_taxonomies['org']], location=[role_taxonomies['loc']], @@ -1239,7 +1239,7 @@ def test_positive_taxonomies_control_to_superadmin_without_org_admin( # Creating resource dom_name = gen_string('alpha') dom = target_sat.api.Domain( - sc, + server_config=sc, name=dom_name, organization=[role_taxonomies['org']], location=[role_taxonomies['loc']],