1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Removed available_apps on TestCase subclasses.

TestCase subclasses are wrapped in a transaction that prevents any data from
being persisted between test runs andi thus don't require limiting the tables
to be flushed to a subset of available apps like TransactionTestCase subclasses
do.
This commit is contained in:
Simon Charette
2017-01-11 23:13:01 -05:00
parent dc1193085d
commit 91023d79ec
3 changed files with 0 additions and 12 deletions

View File

@@ -1794,11 +1794,6 @@ class SyncOnlyDefaultDatabaseRouter(object):
class MigrateTestCase(TestCase):
available_apps = [
'multiple_database',
'django.contrib.auth',
'django.contrib.contenttypes'
]
multi_db = True
def test_migrate_to_other_database(self):