diff options
author | Claude Paroz <claude@2xlibre.net> | 2013-10-16 16:24:59 +0200 |
---|---|---|
committer | Claude Paroz <claude@2xlibre.net> | 2014-06-14 11:17:48 +0200 |
commit | 856863860352aa1f0288e6c9168a0e423c4f5184 (patch) | |
tree | ff4328eb54677bbca97428c03f508d8a417695ea /tests/bash_completion | |
parent | 79956d06946c881cb71958f27a12f62b9cab8de5 (diff) | |
download | django-856863860352aa1f0288e6c9168a0e423c4f5184.tar.gz |
Fixed #19973 -- Replaced optparse by argparse in management commands
Thanks Tim Graham for the review.
Diffstat (limited to 'tests/bash_completion')
-rw-r--r-- | tests/bash_completion/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bash_completion/tests.py b/tests/bash_completion/tests.py index ecfc29c897..b980988332 100644 --- a/tests/bash_completion/tests.py +++ b/tests/bash_completion/tests.py @@ -46,13 +46,13 @@ class BashCompletionTests(unittest.TestCase): def test_django_admin_py(self): "django_admin.py will autocomplete option flags" - self._user_input('django-admin.py sqlall --v') + self._user_input('django-admin.py sqlall --verb') output = self._run_autocomplete() self.assertEqual(output, ['--verbosity=']) def test_manage_py(self): "manage.py will autocomplete option flags" - self._user_input('manage.py sqlall --v') + self._user_input('manage.py sqlall --verb') output = self._run_autocomplete() self.assertEqual(output, ['--verbosity=']) |