Skip to content

Commit

Permalink
Call function parameters by key-value (#14225)
Browse files Browse the repository at this point in the history
Fix TypeError: got multiple values for argument 'server_config'

(cherry picked from commit e1634f5)
  • Loading branch information
dosas authored and web-flow committed Mar 1, 2024
1 parent 0c35844 commit f136f2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/foreman/api/test_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']],
Expand Down Expand Up @@ -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']],
Expand Down

0 comments on commit f136f2e

Please sign in to comment.