Trying to include MIRROR database in the iteration loop make the teardown
be execute twice on the database and raise an exception.
{{{
for db_name in reversed(self._databases_names()):
}}}
Should be
{{{
for db_name in reversed(self._databases_names(include_mirrors=False)):
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34193>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => duplicate
Comment:
I think it's a duplicate of #23718. `TEST['MIRROR']` requires
`TransactionTestCase` to work with multiple databases.
--
Ticket URL: <https://code.djangoproject.com/ticket/34193#comment:1>