diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2014-01-08 21:20:29 +0000 |
|---|---|---|
| committer | Andrew Godwin <andrew@aeracode.org> | 2014-01-08 21:20:29 +0000 |
| commit | 9ae17d994b1b0dee952c2e64f3727ce7a6ffb398 (patch) | |
| tree | 3c9678876066fbe8f973d4562e1bdd43de5ca538 | |
| parent | fa250c2cf9d9f7b06468e010c86594bf4bb55cf5 (diff) | |
Make test stronger to hopefully fix odd Jenkins failure
| -rw-r--r-- | tests/migrations/test_loader.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/migrations/test_loader.py b/tests/migrations/test_loader.py index 564e5207b8..f661a03b02 100644 --- a/tests/migrations/test_loader.py +++ b/tests/migrations/test_loader.py @@ -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( |
