You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems only the _create of the parent class (factory.django.DjangoModelFactory._create) is called when using a pytest-factoryboy fixture in a test. Using the Factory() class directly works fine (does indeed call the Factory._create classmethod).
I'll try to add a test case, but it will require adding a bunch of new requirements if we want to test it for a real Django model factory.
The text was updated successfully, but these errors were encountered:
It seems only the
_create
of the parent class (factory.django.DjangoModelFactory._create
) is called when using apytest-factoryboy
fixture in a test. Using the Factory() class directly works fine (does indeed call theFactory._create
classmethod).I'll try to add a test case, but it will require adding a bunch of new requirements if we want to test it for a real Django model factory.
The text was updated successfully, but these errors were encountered: