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
Factor some stuff out of BaseFlaskTestCase into separate methods and …
…even functions so that it can be more easily reused/swapped out by client code.
If fixture loading fails in setUp() return the db to a good state to avoid cascading errors.
Use Flask-configured logger (app.logger) instead of ad-hoc logger.
Need to flush() in a try/finally block since it can fail.
If it fails (which is the whole point of having it there) we still need to cleanup after and propagate the exception.