diff options
Diffstat (limited to 'tests/admin_scripts/tests.py')
| -rw-r--r-- | tests/admin_scripts/tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py index e4787466d6..dae1314982 100644 --- a/tests/admin_scripts/tests.py +++ b/tests/admin_scripts/tests.py @@ -1342,6 +1342,7 @@ class CommandTypes(AdminScriptTestCase): Also test proper traceback display. """ command = BaseCommand() + def raise_command_error(*args, **kwargs): raise CommandError("Custom error") |
