From cca40703dfdc6171bebe9be50a82ef61a0749cb0 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Fri, 21 Jun 2013 15:32:15 +0100 Subject: Prompt about renames rather than doing them automatically --- tests/migrations/test_autodetector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/migrations/test_autodetector.py b/tests/migrations/test_autodetector.py index d9031faca7..7a2f4715fa 100644 --- a/tests/migrations/test_autodetector.py +++ b/tests/migrations/test_autodetector.py @@ -155,7 +155,7 @@ class AutodetectorTests(TestCase): # Make state before = self.make_project_state([self.author_name]) after = self.make_project_state([self.author_name_renamed]) - autodetector = MigrationAutodetector(before, after) + autodetector = MigrationAutodetector(before, after, MigrationQuestioner({"ask_rename": True})) changes = autodetector.changes() # Right number of migrations? self.assertEqual(len(changes['testapp']), 1) -- cgit v1.3