mirror of
https://github.com/django/django.git
synced 2024-11-29 14:46:18 +01:00
Make test stronger to hopefully fix odd Jenkins failure
This commit is contained in:
parent
fa250c2cf9
commit
9ae17d994b
@ -86,7 +86,7 @@ class LoaderTests(TestCase):
|
||||
)
|
||||
# Now render it out!
|
||||
project_state = migration_loader.graph.project_state(("migrations", "0001_initial"))
|
||||
self.assertEqual(len(project_state.models), 4)
|
||||
self.assertEqual(len([m for a, m in project_state.models if a == "migrations"]), 1)
|
||||
|
||||
book_state = project_state.models["migrations", "book"]
|
||||
self.assertEqual(
|
||||
|
Loading…
Reference in New Issue
Block a user