summaryrefslogtreecommitdiff
path: root/tests/multiple_database
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-06-14 23:11:51 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-06-14 23:16:15 +0200
commitc3df86661955f218de4788a57338bb23428f5525 (patch)
treed385c6358b7255742beb37c2d3bb77b67913106c /tests/multiple_database
parentf6567578887b7cc4efb0006ac4a3a5ba7a1c2cc7 (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')
-rw-r--r--tests/multiple_database/tests.py6
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):