diff options
| author | Tim Graham <timograham@gmail.com> | 2014-07-15 08:48:29 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-07-15 08:51:16 -0400 |
| commit | fe5f29eb1db795257d4095df0e1547c17daadade (patch) | |
| tree | 20405a33a22720758d1cc7d7bac566f526eb329d /tests | |
| parent | f2011e21a2d803ab6328852c3af4a4bf6701b11d (diff) | |
[1.7.x] Fixed #23008 -- Fixed typo causing bad migration dependencies.
Thanks semenov for the report and Florian for investigation.
Backport of 9a2ab62977 from master
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/migrations/test_autodetector.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/migrations/test_autodetector.py b/tests/migrations/test_autodetector.py index 557c7d0499..f6b88030d5 100644 --- a/tests/migrations/test_autodetector.py +++ b/tests/migrations/test_autodetector.py @@ -1045,4 +1045,4 @@ class AutodetectorTests(TestCase): self.assertOperationTypes(changes, 'otherapp', 0, ["CreateModel"]) self.assertOperationAttributes(changes, 'otherapp', 0, 0, name="Book") # Right dependencies? - self.assertEqual(changes['otherapp'][0].dependencies, [("migrations", "__last__")]) + self.assertEqual(changes['otherapp'][0].dependencies, [("migrations", "__latest__")]) |
