mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #20603 -- Made the test suite faster.
By avoiding to run syncdb with the full set of test models. Thanks Anssi for the idea.
This commit is contained in:
parent
f656757888
commit
c3df866619
4 changed files with 22 additions and 2 deletions
|
@ -1943,6 +1943,12 @@ class SyncOnlyDefaultDatabaseRouter(object):
|
|||
|
||||
|
||||
class SyncDBTestCase(TestCase):
|
||||
|
||||
available_apps = [
|
||||
'multiple_database',
|
||||
'django.contrib.auth',
|
||||
'django.contrib.contenttypes'
|
||||
]
|
||||
multi_db = True
|
||||
|
||||
def test_syncdb_to_other_database(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue