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

Not working api_v2_test_runs_search_post #26

Open
theKomix opened this issue Nov 14, 2023 · 0 comments
Open

Not working api_v2_test_runs_search_post #26

theKomix opened this issue Nov 14, 2023 · 0 comments

Comments

@theKomix
Copy link

api_test_runs = test_runs_api.TestRunsApi(api_client)
post_request = ApiV2TestRunsSearchPostRequest(project_ids=[project_guid], states=[TestRunState("Completed")])
runs = api_test_runs.api_v2_test_runs_search_post(take=1, order_by="createdDate DESC", api_v2_test_runs_search_post_request=post_request)

I have error:

Exception has occurred: TypeError
TestRunShortGetModel._from_openapi_data() missing 1 required positional argument: 'auto_tests_count'
  File "C:\Source\gitlab\wfcore-docs\collect_report\test.py", line 40, in <module>
    runs = api_test_runs.api_v2_test_runs_search_post(take=1, order_by="createdDate DESC", api_v2_test_runs_search_post_request=post_request)
TypeError: TestRunShortGetModel._from_openapi_data() missing 1 required positional argument: 'auto_tests_count'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant