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

Use different SQLAlchemy session for requests when testing #162

Closed
rsyring opened this issue Dec 27, 2021 · 1 comment
Closed

Use different SQLAlchemy session for requests when testing #162

rsyring opened this issue Dec 27, 2021 · 1 comment

Comments

@rsyring
Copy link
Member

rsyring commented Dec 27, 2021

No description provided.

@guruofgentoo
Copy link
Member

Once level12/keg#90 is completed with related change in flask-webtest, we'll get this for free:

  • each request would be run with a fresh app context
  • flask-sqlalchemy now scopes session to the app context, rather than the thread id

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

2 participants