#24118: Add --debug-sql option to tests to print SQL queries on failure
-----------------------------------+------------------------------------
Reporter: mjtamlyn | Owner: mjtamlyn
Type: New feature | Status: closed
Component: Testing framework | Version: master
Severity: Release blocker | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+------------------------------------
Changes (by mjtamlyn):
* status: new => closed
* resolution: => fixed
Comment:
I have verified this is not a regression and is a result of tests failing
outside of the test (during `TransactionTestCase._pre_setup()`) due to
migrations being out of sync. The same behaviour is generated without the
original fixing commit.
--
Ticket URL: <https://code.djangoproject.com/ticket/24118#comment:8>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.1b9393dea59495db82c3b7a022c9ba55%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.