Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow muting signals in a way similar to factoryboy #109

Open
oliveratutexas opened this issue Aug 6, 2018 · 1 comment
Open

Allow muting signals in a way similar to factoryboy #109

oliveratutexas opened this issue Aug 6, 2018 · 1 comment

Comments

@oliveratutexas
Copy link

Autofixture works naively and has a tendency to trigger signals on models downstream from the intended model. Factory boy has a method for silencing signals on explicit models, perhaps in auto-fixture there could be a way to do this "automagically"?

@oliveratutexas
Copy link
Author

Actually, I figured out this is possible by using both libraries. If one uses factoryboy's decorator for silencing signals in whatever function they define as the entrypoint for creating fixtures or individual fixtures, you can get the benefits of both libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant