pytest-factoryboy
pytest-factoryboy copied to clipboard
Allow disabling factory deps
Any interest in this?
This "magic" factory dependencies has bit me more than once. Just today I spent at least a couple of hours before I remembered the "issue"... I had a RelatedFactory with some attribute overrides, that I could not understand why was not working (i.e. the attributes "reset" to the default related factory as registered by the fixture). So I very much want something like this, however, I'd like it to be per-factory. Perhaps a meta class flag?