From 533532302ae842c95cf7294ef6cd7f3e2bfaca65 Mon Sep 17 00:00:00 2001 From: Loic Bistuer Date: Wed, 22 Oct 2014 01:11:31 +0700 Subject: 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. --- tests/admin_scripts/management/commands/color_command.py | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 tests/admin_scripts/management/commands/color_command.py (limited to 'tests/admin_scripts/management') 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') -- cgit v1.3