Encode/Databases 0.8.0 breaks fastapi-complete tests · Issue #4 · andredias/perfect_python_project · GitHub
More Web Proxy on the site http://driver.im/
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
In most cases, these changes should not be breaking. However, if using an open transaction across tasks, the active connection (db.connection()) now needs to be explicitly passed to each task. See the new documentation for an example.
Those changes break the app fixture which wraps the app with a db.transaction(force_rollback=True): to roll back all changes made during testing.
The text was updated successfully, but these errors were encountered:
According to 0.8.0 release notes:
Those changes break the
app
fixture which wraps the app with adb.transaction(force_rollback=True):
to roll back all changes made during testing.The text was updated successfully, but these errors were encountered: