You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have it crystal clear what flask-testing does and does not in docs. Does it integrate with sqlalchemy in any way beyond session removal? Does it drop tables between tests?
The text was updated successfully, but these errors were encountered:
Second, it’s usually a good idea to create and drop your tables with each test run, to ensure clean tests
Notice also that db.session.remove() is called at the end of each test, to ensure the SQLAlchemy session is properly removed and that a new session is started with each test run - this is a common “gotcha”.
It would be nice to have it crystal clear what flask-testing does and does not in docs. Does it integrate with sqlalchemy in any way beyond session removal? Does it drop tables between tests?
The text was updated successfully, but these errors were encountered: