diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-06-14 23:11:51 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-06-14 23:16:15 +0200 |
| commit | c3df86661955f218de4788a57338bb23428f5525 (patch) | |
| tree | d385c6358b7255742beb37c2d3bb77b67913106c /tests/multiple_database/tests.py | |
| parent | f6567578887b7cc4efb0006ac4a3a5ba7a1c2cc7 (diff) | |
Fixed #20603 -- Made the test suite faster.
By avoiding to run syncdb with the full set of test models.
Thanks Anssi for the idea.
Diffstat (limited to 'tests/multiple_database/tests.py')
| -rw-r--r-- | tests/multiple_database/tests.py | 6 |
1 files changed, 6 insertions, 0 deletions
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): |
