mongodb-labs / django-mongodb

MongoDB Backend for Django
Apache License 2.0
16 stars 7 forks source link

INTPYTHON-435: investigate speeding up Django's TransactionTestCase/TestCase #181

Open timgraham opened 3 weeks ago

timgraham commented 3 weeks ago

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 set available_apps. Currently, runtests.py only 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.

Jibola commented 20 hours ago

https://jira.mongodb.org/browse/INTPYTHON-435