-
![TEST ALL THE THINGS!](http://cdn.memegenerator.net/instances/400x/27499712.jpg)
-
#### Description
I have a scenario where I need to, based on some condition, ensure that a factory returns an existing object (possibly customising it to match the provided fields) rather than creati…
-
#### The problem
Pydantic is a fast growing library that handles data validation in a very clean way using type hinting. If you are working on a python project that needs to digest and output data mo…
-
We're using `pytest` fixtures to provide data for our tests, however the `conftest.py` file grew pretty large and it became difficult to maintain. The biggest issue is that we have to duplicate a lot …
-
As the testing suite develops there will be a need to create data in the database prior to running tests. Currently this is being done with the use of [factory-boy](https://factoryboy.readthedocs.io/…
-
This should be some kind of user configurable setting. Probably makes the most sense in settings.py
Later on for testing perhaps we should use factory_boy to assert that the n+1 post does NOT show up…
-
Need to add specific model tests for Resources and Tagging, and provide framework going forward for those types of tests for other endpoints.
- [x] CustomTag model - https://github.com/codebuddies/…
-
In [Factory Boy](https://factoryboy.readthedocs.io/en/stable/orms.html), classes uses a `class Meta` to defined the model. With the implementation you made, we can't build a typeorm entity containing …
-
Autofixture works naively and has a tendency to trigger signals on models downstream from the intended model. Factory boy has a method for silencing signals on explicit models, perhaps in auto-fixture…
-
#### The problem
I haven't found support for creating a factory with the Dynamodb ORM [pynamodb](https://github.com/pynamodb/PynamoDB). Sometimes I use a django-supported ORM for which the `DjangoMod…