diff options
| author | Loic Bistuer <loic.bistuer@gmail.com> | 2014-03-26 03:51:15 +0800 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-03-31 06:57:44 -0400 |
| commit | 8e73d3a2c17bd3233d5c6c560dda73f74083f44f (patch) | |
| tree | 4cb129bf6cd41e4565b3288e505f91c59d3ed2fa /tests | |
| parent | bdec84806365209bf800e9213a1cbb9b5dc2aa29 (diff) | |
[1.7.x] Fixed #22319 -- Fixed migration external dependencies when there are internal dependencies.
Backport of 0fd51cf0bd 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 5ceadc7430..a56e31568a 100644 --- a/tests/migrations/test_autodetector.py +++ b/tests/migrations/test_autodetector.py @@ -343,7 +343,7 @@ class AutodetectorTests(TestCase): self.assertEqual(action.name, "author") # Right dependencies? self.assertEqual(migration1.dependencies, [("otherapp", "auto_1")]) - self.assertEqual(migration2.dependencies, []) + self.assertEqual(migration2.dependencies, [('testapp', '__first__')]) self.assertEqual(set(migration3.dependencies), set([("otherapp", "auto_1"), ("testapp", "auto_1")])) def test_same_app_circular_fk_dependency(self): |
