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

Fix test process form invalid extra removed #114

Conversation

potiuk
Copy link
Collaborator

@potiuk potiuk commented Apr 14, 2024


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

Fixed by switching to use flask client for testing rather than
starlette. Starlette client in this case has some side effects that are
also impacting Sqlite's session being created in a different
thread and deleted with close_all_sessions fixture.
Fixed by switching the test to flask_admin_client. Removes
sqlalchemy session creted from a different thread.
@sudiptob2 sudiptob2 force-pushed the fix-test_process_form_invalid_extra_removed branch from 9046e9f to 51b944d Compare April 14, 2024 19:10
@sudiptob2 sudiptob2 merged commit 9b9660a into feat/migrate-to-connexion-v3 Apr 14, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants