diff options
| author | Simon Charette <charette.s@gmail.com> | 2016-01-25 14:29:24 -0500 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2016-01-25 21:38:58 -0500 |
| commit | 477274acb46b2f07666e9f84dea2e65ea6b63ad3 (patch) | |
| tree | 6344d9b0674e0b5db89af6bbe0cf2124c47a90b9 /tests | |
| parent | 4dcaa5871b70859952c6f9c437dfe1b5f10509f2 (diff) | |
Refs #24919 -- Used the documented way of disabling migrations per app.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/runtests.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/runtests.py b/tests/runtests.py index b819262d9e..57dc099345 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -149,11 +149,11 @@ def setup(verbosity, test_labels, parallel): settings.SITE_ID = 1 settings.MIDDLEWARE_CLASSES = ALWAYS_MIDDLEWARE_CLASSES settings.MIGRATION_MODULES = { - # these 'tests.migrations' modules don't actually exist, but this lets - # us skip creating migrations for the test models. - 'auth': 'django.contrib.auth.tests.migrations', - 'contenttypes': 'contenttypes_tests.migrations', - 'sessions': 'sessions_tests.migrations', + # This lets us skip creating migrations for the test models as many of + # them depend on one of the following contrib applications. + 'auth': None, + 'contenttypes': None, + 'sessions': None, } log_config = copy.deepcopy(DEFAULT_LOGGING) # Filter out non-error logging so we don't have to capture it in lots of |
