diff options
Diffstat (limited to 'tests/admin_scripts/management')
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/admin_scripts/management/commands/app_command.py b/tests/admin_scripts/management/commands/app_command.py index 7f2aff522c..e5272dd6be 100644 --- a/tests/admin_scripts/management/commands/app_command.py +++ b/tests/admin_scripts/management/commands/app_command.py @@ -3,7 +3,7 @@ from django.core.management.base import AppCommand class Command(AppCommand): help = 'Test Application-based commands' - requires_system_checks = False + requires_system_checks = [] def handle_app_config(self, app_config, **options): print('EXECUTE:AppCommand name=%s, options=%s' % (app_config.name, sorted(options.items()))) diff --git a/tests/admin_scripts/management/commands/base_command.py b/tests/admin_scripts/management/commands/base_command.py index 56ab664f8a..940f04d018 100644 --- a/tests/admin_scripts/management/commands/base_command.py +++ b/tests/admin_scripts/management/commands/base_command.py @@ -3,7 +3,7 @@ from django.core.management.base import BaseCommand class Command(BaseCommand): help = 'Test basic commands' - requires_system_checks = False + requires_system_checks = [] def add_arguments(self, parser): parser.add_argument('args', nargs='*') diff --git a/tests/admin_scripts/management/commands/label_command.py b/tests/admin_scripts/management/commands/label_command.py index 5bffeb3ae2..981b88ade4 100644 --- a/tests/admin_scripts/management/commands/label_command.py +++ b/tests/admin_scripts/management/commands/label_command.py @@ -3,7 +3,7 @@ from django.core.management.base import LabelCommand class Command(LabelCommand): help = "Test Label-based commands" - requires_system_checks = False + requires_system_checks = [] def handle_label(self, label, **options): print('EXECUTE:LabelCommand label=%s, options=%s' % (label, sorted(options.items()))) diff --git a/tests/admin_scripts/management/commands/noargs_command.py b/tests/admin_scripts/management/commands/noargs_command.py index c95f7c1844..65ee370ab7 100644 --- a/tests/admin_scripts/management/commands/noargs_command.py +++ b/tests/admin_scripts/management/commands/noargs_command.py @@ -3,7 +3,7 @@ from django.core.management.base import BaseCommand class Command(BaseCommand): help = "Test No-args commands" - requires_system_checks = False + requires_system_checks = [] def handle(self, **options): print('EXECUTE: noargs_command options=%s' % sorted(options.items())) |
