mirror of
https://github.com/django/django.git
synced 2025-10-25 06:36:07 +00:00
[1.7.x] Added database migration for contrib.contenttypes.
Moved contenttypes tests to allow them to run correctly in the presence of
migrations. refs #22170.
Backport of eb8600a656 from master
This commit is contained in:
@@ -77,7 +77,7 @@ class LoaderTests(TestCase):
|
||||
)
|
||||
|
||||
# Ensure we've included unmigrated apps in there too
|
||||
self.assertIn("contenttypes", project_state.real_apps)
|
||||
self.assertIn("auth", project_state.real_apps)
|
||||
|
||||
@override_settings(MIGRATION_MODULES={"migrations": "migrations.test_migrations_unmigdep"})
|
||||
def test_load_unmigrated_dependency(self):
|
||||
|
||||
Reference in New Issue
Block a user