diff options
| author | Loic Bistuer <loic.bistuer@gmail.com> | 2014-10-22 01:11:31 +0700 |
|---|---|---|
| committer | Loic Bistuer <loic.bistuer@gmail.com> | 2014-10-22 09:25:50 +0700 |
| commit | 533532302ae842c95cf7294ef6cd7f3e2bfaca65 (patch) | |
| tree | 8be8c0dfea5029e7fa360f412c1f590eec734079 /tests/admin_scripts/management | |
| parent | 494cd857c897dc4051193abc10d181fa51de4966 (diff) | |
Fixed #23663 -- Initialize output streams for BaseCommand in __init__().
This helps with testability of management commands.
Thanks to trac username daveoncode for the report and to
Tim Graham and Claude Paroz for the reviews.
Diffstat (limited to 'tests/admin_scripts/management')
| -rw-r--r-- | tests/admin_scripts/management/commands/color_command.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/admin_scripts/management/commands/color_command.py b/tests/admin_scripts/management/commands/color_command.py deleted file mode 100644 index 5a1c297762..0000000000 --- a/tests/admin_scripts/management/commands/color_command.py +++ /dev/null @@ -1,9 +0,0 @@ -from django.core.management.base import BaseCommand - - -class Command(BaseCommand): - help = "Test color output" - requires_system_checks = False - - def handle(self, **options): - return self.style.SQL_KEYWORD('BEGIN') |
