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!
|
# Now render it out!
|
||||||
project_state = migration_loader.graph.project_state(("migrations", "0001_initial"))
|
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"]
|
book_state = project_state.models["migrations", "book"]
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
|
|
Loading…
Reference in New Issue