1
0
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:
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

@@ -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?