mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +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:
@@ -13,6 +13,13 @@ from swappable_models.models import Article
|
||||
|
||||
|
||||
class SwappableModelTests(TestCase):
|
||||
|
||||
available_apps = [
|
||||
'swappable_models',
|
||||
'django.contrib.auth',
|
||||
'django.contrib.contenttypes',
|
||||
]
|
||||
|
||||
def setUp(self):
|
||||
# This test modifies the installed apps, so we need to make sure
|
||||
# we're not dealing with a cached app list.
|
||||
|
||||
Reference in New Issue
Block a user