From c3df86661955f218de4788a57338bb23428f5525 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Fri, 14 Jun 2013 23:11:51 +0200 Subject: Fixed #20603 -- Made the test suite faster. By avoiding to run syncdb with the full set of test models. Thanks Anssi for the idea. --- tests/multiple_database/tests.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/multiple_database') diff --git a/tests/multiple_database/tests.py b/tests/multiple_database/tests.py index e72fb6a4f9..a0d937ce81 100644 --- a/tests/multiple_database/tests.py +++ b/tests/multiple_database/tests.py @@ -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): -- cgit v1.3