Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x.__init__() got multiple values for argument 'server_config' #1038

Closed
pondrejk opened this issue Dec 13, 2023 · 2 comments · Fixed by #1152
Closed

x.__init__() got multiple values for argument 'server_config' #1038

pondrejk opened this issue Dec 13, 2023 · 2 comments · Fixed by #1152

Comments

@pondrejk
Copy link
Contributor

I know https://github.com/SatelliteQE/nailgun/pull/1029/files fixed a bunch of entities, but some remain.

Applies to Role, Architecture, TablePreferences... I suppose all entities that use create_payload

@damoore044
Copy link
Contributor

damoore044 commented May 24, 2024

Blocking stream automation in snap 60.0 (ErrataManagement and likely others)
Reference: Jenkins/RP > phoenix-content > stream el9 Components > rhel9-ErrataManagement > session # 11
Test Result: 70/70 fail in setup for this error

pytest_fixtures/component/taxonomy.py:43: in module_org
    return module_target_sat.api.Organization().create()
../../lib64/python3.12/site-packages/nailgun/entities.py:5803: in create
    return type(self)(
E   TypeError: Organization.__init__() got multiple values for argument 'server_config'

@damoore044
Copy link
Contributor

Locally reproduced with master nailgun, all tests using module_org fail.
Dropping the commit from #1143 resolved the issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants