Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make test stronger to hopefully fix odd Jenkins failure

  • Loading branch information...
commit 9ae17d994b1b0dee952c2e64f3727ce7a6ffb398 1 parent fa250c2
Andrew Godwin andrewgodwin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/migrations/test_loader.py
2  tests/migrations/test_loader.py
View
@@ -86,7 +86,7 @@ def test_load_unmigrated_dependency(self):
)
# 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(
Please sign in to comment.
Something went wrong with that request. Please try again.