summaryrefslogtreecommitdiff
path: root/tests/regressiontests/bash_completion
diff options
context:
space:
mode:
authorTomasz Rybak <tomasz.rybak@gmail.com>2013-02-23 17:07:50 +0100
committerTomasz Rybak <tomasz.rybak@gmail.com>2013-02-24 12:38:28 +0100
commitd7429defe6f8d1dce49976cf49827d18ff6be025 (patch)
treec2801f0bdc341c99ba2fead4119fc145120b16c7 /tests/regressiontests/bash_completion
parent6bbf4e57c8b250d09a70d3d840531a42147705e9 (diff)
Add sqldropindexes to manage
Change patch from https://code.djangoproject.com/ticket/5568 to work on modern Django. Add special case for MySQL which has different syntax for DROP INDEX. Add unit tests for the new functionality.
Diffstat (limited to 'tests/regressiontests/bash_completion')
-rw-r--r--tests/regressiontests/bash_completion/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/bash_completion/tests.py b/tests/regressiontests/bash_completion/tests.py
index ed8cedf1ab..4fdb793feb 100644
--- a/tests/regressiontests/bash_completion/tests.py
+++ b/tests/regressiontests/bash_completion/tests.py
@@ -66,7 +66,7 @@ class BashCompletionTests(unittest.TestCase):
"Subcommands can be autocompleted"
self._user_input('django-admin.py sql')
output = self._run_autocomplete()
- self.assertEqual(output, ['sql sqlall sqlclear sqlcustom sqlflush sqlindexes sqlinitialdata sqlsequencereset'])
+ self.assertEqual(output, ['sql sqlall sqlclear sqlcustom sqldropindexes sqlflush sqlindexes sqlinitialdata sqlsequencereset'])
def test_help(self):
"No errors, just an empty list if there are no autocomplete options"