mirror of
https://github.com/django/django.git
synced 2025-11-25 05:04:26 +00:00
Refs #27790 -- Reverted "Removed available_apps on TestCase subclasses."
This reverts commit 91023d79ec as it
increases memory usage for the test suite.
This commit is contained in:
parent
d5b573d872
commit
7d50d2bcb8
2 changed files with 13 additions and 0 deletions
|
|
@ -1792,6 +1792,12 @@ class SyncOnlyDefaultDatabaseRouter:
|
|||
|
||||
class MigrateTestCase(TestCase):
|
||||
|
||||
# Limit memory usage when calling 'migrate'.
|
||||
available_apps = [
|
||||
'multiple_database',
|
||||
'django.contrib.auth',
|
||||
'django.contrib.contenttypes'
|
||||
]
|
||||
multi_db = True
|
||||
|
||||
def test_migrate_to_other_database(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue