One possibility beyond that discussion is to have Django's test suite TestCase classes set available_apps. Currently, runtests.pyonly enforces available_apps for TransactionTestCase but for database backends like django-mongodb that don't support transactions, TestCase functions like TransactionTestCase with regards to flushing the database.
See the discussion in https://github.com/mongodb-labs/django-mongodb/pull/179.
One possibility beyond that discussion is to have Django's test suite
TestCase
classes setavailable_apps
. Currently,runtests.py
only enforcesavailable_apps
forTransactionTestCase
but for database backends like django-mongodb that don't support transactions,TestCase
functions likeTransactionTestCase
with regards to flushing the database.