diff options
Diffstat (limited to 'tests/user_commands')
| -rw-r--r-- | tests/user_commands/tests.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/user_commands/tests.py b/tests/user_commands/tests.py index 50b1b4244f..45fe0aaf46 100644 --- a/tests/user_commands/tests.py +++ b/tests/user_commands/tests.py @@ -179,18 +179,18 @@ class CommandTests(SimpleTestCase): def test_call_command_unrecognized_option(self): msg = ( 'Unknown option(s) for dance command: unrecognized. Valid options ' - 'are: example, help, integer, no_color, opt_3, option3, ' - 'pythonpath, settings, skip_checks, stderr, stdout, style, ' - 'traceback, verbosity, version.' + 'are: example, force_color, help, integer, no_color, opt_3, ' + 'option3, pythonpath, settings, skip_checks, stderr, stdout, ' + 'style, traceback, verbosity, version.' ) with self.assertRaisesMessage(TypeError, msg): management.call_command('dance', unrecognized=1) msg = ( 'Unknown option(s) for dance command: unrecognized, unrecognized2. ' - 'Valid options are: example, help, integer, no_color, opt_3, ' - 'option3, pythonpath, settings, skip_checks, stderr, stdout, ' - 'style, traceback, verbosity, version.' + 'Valid options are: example, force_color, help, integer, no_color, ' + 'opt_3, option3, pythonpath, settings, skip_checks, stderr, ' + 'stdout, style, traceback, verbosity, version.' ) with self.assertRaisesMessage(TypeError, msg): management.call_command('dance', unrecognized=1, unrecognized2=1) |
