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']],