forked from FactoryBoy/factory_boy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define test factories strategy in FactoryOptions
Instead of assigning to Factory._meta.strategy. Keeps overrides focused on a single class and remove need to save and restore global default strategy.
- Loading branch information
1 parent
80f66e9
commit 5f8330f
Showing
1 changed file
with
6 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters