Replies: 1 comment
-
@UDAR-TomH greeting! I am sorry for overlooking this discussion topic. The typical test flow in Django projects that I am aware of is to destroy the test database once tests did run (in case of using Django's So, answering the question in short - bakery does not clean/delete objects/related objects automatically. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Say you call baker.make on a model that has a related field for another model object. I get that baker automatically creates that related object, but does it also clean it up? Or is that something that our tests will have to do manually?
Beta Was this translation helpful? Give feedback.
All reactions