diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2013-06-21 15:32:15 +0100 |
|---|---|---|
| committer | Andrew Godwin <andrew@aeracode.org> | 2013-06-21 15:32:15 +0100 |
| commit | cca40703dfdc6171bebe9be50a82ef61a0749cb0 (patch) | |
| tree | a193a5f38fb33698cc37ccbaf0f357d6c9342ec7 /tests | |
| parent | 92a10f5552315b22e7d374123e3d09249b6b9883 (diff) | |
Prompt about renames rather than doing them automatically
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 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) |
