Added missing available app in migrations test case

In some test combinations, having contrib.auth available but not
contrib.contenttypes can produce failures while creating permissions.
This commit is contained in:
Claude Paroz 2014-10-23 15:37:19 +02:00
parent 4b0a45ce64
commit 70428902c0
1 changed files with 1 additions and 0 deletions

View File

@ -1512,6 +1512,7 @@ class SwappableOperationTests(OperationTestBase):
available_apps = [ available_apps = [
"migrations", "migrations",
"django.contrib.auth", "django.contrib.auth",
"django.contrib.contenttypes",
] ]
@override_settings(TEST_SWAP_MODEL="migrations.SomeFakeModel") @override_settings(TEST_SWAP_MODEL="migrations.SomeFakeModel")