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
if you've changed module scoped model instance, you must wrap it in transaction and refresh_from_db upon test exit
if you want to perform model instance .delete - it's better not to do it on non-function scoped fixtures
In general, we're performing migration of our internal codebase and all major things seem working and we're happy with it.
But because of pytest design: no clean way to finish fixture, no guarantees about whether fixture will exist for your function or not for particular test and some other things - debugging seems harder.
Do you have an example on how to use this?
The text was updated successfully, but these errors were encountered: