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:50:38 -0400 |
| commit | 0fd51cf0bd31afb085d16476d5a54bedf4a1bc32 (patch) | |
| tree | 1edbe9fc1205a96e53ab04532d2067f9cc4361e9 /tests | |
| parent | a449e7feec73c7a14a972721942ce0f649c9d875 (diff) | |
Fixed #22319 -- Fixed migration external dependencies when there are internal dependencies.
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): |
