summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndrew Godwin <andrew@aeracode.org>2014-02-12 17:22:50 +0000
committerAndrew Godwin <andrew@aeracode.org>2014-02-12 17:22:50 +0000
commitbad9456b9cabd6a14fe6e3edeacde55b51fbffdc (patch)
tree7adeff2dcfd0a58f194090541ad2932e396fbcd7 /tests
parent80bbe2265d1afd43f8519427ad8ce0b147aceb43 (diff)
Fix my slightly hasty autodetector changes
Diffstat (limited to 'tests')
-rw-r--r--tests/migrations/test_autodetector.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/migrations/test_autodetector.py b/tests/migrations/test_autodetector.py
index 013a0d2287..dca971dd8e 100644
--- a/tests/migrations/test_autodetector.py
+++ b/tests/migrations/test_autodetector.py
@@ -54,7 +54,7 @@ class AutodetectorTests(TestCase):
autodetector = MigrationAutodetector(before, after)
changes = autodetector._detect_changes()
# Run through arrange_for_graph
- changes = autodetector._arrange_for_graph(changes, graph)
+ changes = autodetector.arrange_for_graph(changes, graph)
# Make sure there's a new name, deps match, etc.
self.assertEqual(changes["testapp"][0].name, "0003_author")
self.assertEqual(changes["testapp"][0].dependencies, [("testapp", "0002_foobar")])
@@ -70,7 +70,7 @@ class AutodetectorTests(TestCase):
changes = autodetector._detect_changes()
# Run through arrange_for_graph
graph = MigrationGraph()
- changes = autodetector._arrange_for_graph(changes, graph)
+ changes = autodetector.arrange_for_graph(changes, graph)
changes["testapp"][0].dependencies.append(("otherapp", "0001_initial"))
changes = autodetector._trim_to_apps(changes, set(["testapp"]))
# Make sure there's the right set of migrations