#31398: multiple_database.tests.AuthTestCase doesn't flush the default database
if
transactions aren't supported.
------------------------------+---------------------------------------
Reporter: Tim Graham | Owner: Nick Michas
Type: Bug | Status: assigned
Component: Core (Other) | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+---------------------------------------
Comment (by Tim Graham):
Hi Nick, your proposal to change the behavior of flush isn't the solution
I expected. I believe the underlying problem is that the test writes to a
table that shouldn't exist because of the router. Instead of changing the
behavior of flush to account for a broken test, the test should be fixed.
--
Ticket URL: <https://code.djangoproject.com/ticket/31398#comment:17>
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/0107019da09f92f0-237e8af5-74e6-4883-9b65-9916d6a9243c-000000%40eu-central-1.amazonses.com.