Disable python flask tests
Merged
WI
8h ago+1+1+0123456789-1-1-0123456789
disable the test due to the following errors:
[ERROR] Failures:
[ERROR] org.openapitools.codegen.python.PythonFlaskConnexionServerCodegenTest.testControllerTestModelExampleUsesImportedName
[ERROR] Run 1: PythonFlaskConnexionServerCodegenTest.testControllerTestModelExampleUsesImportedName:176 File 'C:\Users\User\AppData\Local\Temp\test9469312943545207622\openapi_server\test\test_default_controller.py' does not contain line [query_string = [('filter', Filter()),] expected [true] but found [false]
[ERROR] Run 2: PythonFlaskConnexionServerCodegenTest.testControllerTestModelExampleUsesImportedName:176 File 'C:\Users\User\AppData\Local\Temp\test13514954729255540111\openapi_server\test\test_default_controller.py' does not contain line [query_string = [('filter', Filter()),] expected [true] but found [false]
[ERROR] Run 3: PythonFlaskConnexionServerCodegenTest.testControllerTestModelExampleUsesImportedName:176 File 'C:\Users\User\AppData\Local\Temp\test10574054070658084280\openapi_server\test\test_default_controller.py' does not contain line [query_string = [('filter', Filter()),] expected [true] but found [false]
@khayashi4337, when you've time, can you please revise the test and re-enable it?
PR checklist
- Read the contribution guidelines.
- Run the following to build the project and update samples:
(For Windows users, please run the script in WSL)./mvnw clean package || exit ./bin/generate-samples.sh ./bin/configs/*.yaml || exit ./bin/utils/export_docs_generators.sh || exit
Commit all changed files.
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example./bin/generate-samples.sh bin/configs/java*.
IMPORTANT: Do NOT purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed. - If your PR is targeting a particular programming language, @mention the technical committee members, so they are more likely to review the pull request.
Summary by cubic
Disables the testControllerTestModelExampleUsesImportedName test in the Python Flask generator so it stops failing in CI.