1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Refs #29898 -- Changed ProjectState.real_apps to set.

This commit is contained in:
Mariusz Felisiak
2021-08-10 09:58:40 +02:00
committed by Carlton Gibson
parent 3a6431db54
commit 54a30a7a00
6 changed files with 13 additions and 11 deletions

View File

@@ -916,7 +916,7 @@ class StateTests(SimpleTestCase):
project_state.apps
# If we include the real app it should succeed
project_state = ProjectState(real_apps=["contenttypes"])
project_state = ProjectState(real_apps={'contenttypes'})
project_state.add_model(ModelState.from_model(TestModel))
rendered_state = project_state.apps
self.assertEqual(