Closed amandasavluchinske closed 2 months ago
Use a lib like factory or baker - I'm not a huge fan of this option as this lib's models are fairly simple, so I don't think we gain a lot by adding this extra dependency.
It's not a problem because that will be a test-only dependency. I think it's fine to use model bakery.
Folks, I created this draft to get your opinion on something. For test data, we have a few options:
helpers.py
(within the tests folder) - That's what I went with, but I also saw there's anutils.py
file. I figured the purposes were a little different, but I can add the helper to utils if it makes sense.Anyway, let me know what you think. This is not a blocker, I'm working on other tests in the meantime, but I'd like to get your opinion before opening the definitive PR.