Open martsime opened 1 year ago
Hey I would like to work on this issue if thats okay :) I have made a proposal for a patch on in this PR: https://github.com/FactoryBoy/factory_boy/pull/1056. I'm curious to hear if this is in line with your vision :) cheers!
Description
Overriding
_setup_next_sequence
does not work when subclassingDictFactory
, but I get it to work for other factories subclassingDjangoModelFactory
.Model / Factory code
Test case
A simple test case where the sequence should start from 10
Output