mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Refs #29898 -- Changed ProjectState.real_apps to set.
This commit is contained in:
committed by
Carlton Gibson
parent
3a6431db54
commit
54a30a7a00
@@ -2412,7 +2412,7 @@ class AutodetectorTests(TestCase):
|
||||
loader = MigrationLoader(connection)
|
||||
before = self.make_project_state([])
|
||||
after = self.make_project_state([self.book_migrations_fk])
|
||||
after.real_apps = ["migrations"]
|
||||
after.real_apps = {'migrations'}
|
||||
autodetector = MigrationAutodetector(before, after)
|
||||
changes = autodetector._detect_changes(graph=loader.graph)
|
||||
# Right number/type of migrations?
|
||||
@@ -2431,7 +2431,7 @@ class AutodetectorTests(TestCase):
|
||||
loader = MigrationLoader(connection)
|
||||
before = self.make_project_state([])
|
||||
after = self.make_project_state([self.book_migrations_fk])
|
||||
after.real_apps = ["migrations"]
|
||||
after.real_apps = {'migrations'}
|
||||
autodetector = MigrationAutodetector(before, after)
|
||||
changes = autodetector._detect_changes(graph=loader.graph)
|
||||
# Right number/type of migrations?
|
||||
|
||||
Reference in New Issue
Block a user