-
#### The problem
It would be nice to have an Elasticsearch DSL factory included. At the moment I use my own custom (factory_boy based) one which I have to copy among different projects.
#### Prop…
-
@boris-arkenaar requested to add some fixtures to the database for testing purposes. We could add [Django fixtures](https://docs.djangoproject.com/en/3.0/ref/django-admin/#django-admin-loaddata) for t…
-
### Discussed in https://github.com/pytest-dev/pytest/discussions/11412
Originally posted by **jgersti** September 7, 2023
In #11284 @RonnyPfannschmidt mentioned that he would like to incorpo…
-
```python
with signal_disabler.disable():
obj.delete()
# at this line my listeners are not in `post_delete._live_receivers()` anymore
# (and still here in post_delete.receivers)
```
It lo…
-
I think it would be helpful to support type annotations in hook specifications.
It isn't hard to add the necessary annotations to a hook specification but I couldn't work out how to integrate this …
-
#### The problem
My situation is similar to this one raised https://github.com/FactoryBoy/factory_boy/issues/68#issuecomment-363268477
I have nested factories that use SubFactory
When I want …
-
#### The problem
I came from a company that uses SQLAlchemy + `factory_boy`, and I loved it. Now, I have joined a company that uses [Tortoise ORM](https://github.com/tortoise/tortoise-orm). It woul…
-
I am using Flask-Restx with SQLAlchemy, flask-marshmallow and Pytest / FactoryBoy for testing. I use `@api.expect(parser)` to define input params. How do I create fake parser to use for testing POS…
-
The general way to reproduce this is:
1. I have a Django Model with a method
1. I create a factory for that model with `factory.django.DjangoModelFactory`
1. I register a trait using `factory.Pos…
-
#### Description
I have two Django models that refer to eachother. StudentPhone has a ForeignKey relationship to Student, and a Student has a primary_phone field that refers to a StudentPhone. I want…