-
Django uses string notation in several places (e.g. `ForeignKey`) to be able to reference a model during the app startup phase. Factory boy recently added that syntax, but unfortunately due to the way…
-
#### Description
DjangoOptions class of a DjangoModelFactory is missing attributes post `__init_subclass__`
#### To Reproduce
Run the code below, blows up without actually creating the PollFactor…
-
Close to 10K lines of output: hard to diagnose test failures and approaching the limit of what Travis CI allows.
Solutions:
1. Eliminate tracebacks (tests should not be crashing)
1. Reduce outp…
-
-
Hi,
Being on Mac M1 I unpinned all requirements versions because some packages weren't able to build on this architecture.
Everything runs fine then, until testing, for which I get the following …
-
We have several models with `ForeignKey`.
These models have factories using `factory.Iterator` on the same tables (Ex: `Countries.objects.all()`, `Currencies.objects.all()`, etc.)
Ex:
* ```Coun…
-
If a trait parameter passed to `SubFactory` not as strict `True` or `False` value, but as `SelfAttrubute` - it always evaluates as if `True` were passed.
This issue can be reproduced easilly with thi…
-
Hi,
is there any interest in adding support for generating objects based on marshmallow schema?
https://github.com/marshmallow-code/marshmallow
I took a cursory look - very roughly, it seems a map…
-
### Proposed Changes
We need CI coverage to validate that any new migrations work properly when applied to a DB with pre-existing data in it. Ideally we'd make this easy to run locally as well.
…
-
This comes from https://github.com/pytest-dev/pytest-factoryboy/issues/23.
What pytest-factoryboy does is convert all declarations to pytest fixtures allowing them to be easily overridden and paramet…
ekohl updated
6 years ago