#36327: Improve TestCase.assertNumQueries() to allow for multiple databases
-------------------------------------+-------------------------------------
Reporter: Javier Buzzi | Owner: Javier
| Buzzi
Type: New feature | Status: closed
Component: Testing framework | Version: dev
Severity: Normal | Resolution: wontfix
Keywords: query count | Triage Stage:
testcase assertNumQueries | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Natalia Bidart):
* resolution: => wontfix
* status: assigned => closed
Comment:
As explained in the forum post, I'll close this as `wontfix` since a
viable approach using `subTest` and `assertNumQueries` has been proposed
in the related discussion, which covers the use case without requiring a
framework change (to my best understanding).
--
Ticket URL: <https://code.djangoproject.com/ticket/36327#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019635a4a2a7-15687c6f-4d23-4ec4-bbab-6e540cda084c-000000%40eu-central-1.amazonses.com.