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:
committed by
Carlton Gibson
parent
3a6431db54
commit
54a30a7a00
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user