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:
Aymeric Augustin 2013-06-14 23:11:51 +02:00
parent f656757888
commit c3df866619
4 changed files with 22 additions and 2 deletions

View file

@ -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):