-
Notifications
You must be signed in to change notification settings - Fork 346
assertNumQueries analogue #187
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
Comments
Does #97 help you here? |
#97 should solve this. I have a hack that I use internally that you might find useful in the meantime: |
Closing this issue since it is covered in #97. |
Didn't understand #97 solution and where it was described, but thanks for snippet. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Django TransactionTestCase we have useful method
assertNumQueries
https://docs.djangoproject.com/en/1.7/topics/testing/tools/#django.test.TransactionTestCase.assertNumQueries.Can we do something like that in pytest-django or maybe it is somewhere and i missed it?
The text was updated successfully, but these errors were encountered: