mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
Using sys.exit(1) in a management command makes it impossible to unit test the code in question. The correct approach to do the same thing in Django management commands is to raise CommandError. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| custom_check.py | ||
| exclude.py | ||
| pep8.py | ||
| pyflakes.py | ||