diff options
Diffstat (limited to 'tests/admin_scripts/management/commands/validation_command.py')
| -rw-r--r-- | tests/admin_scripts/management/commands/validation_command.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/admin_scripts/management/commands/validation_command.py b/tests/admin_scripts/management/commands/validation_command.py index e9ba86dc6c..d0cbe19a81 100644 --- a/tests/admin_scripts/management/commands/validation_command.py +++ b/tests/admin_scripts/management/commands/validation_command.py @@ -1,11 +1,11 @@ -from django.core.management.base import NoArgsCommand +from django.core.management.base import BaseCommand -class InvalidCommand(NoArgsCommand): +class InvalidCommand(BaseCommand): help = ("Test raising an error if both requires_system_checks " "and requires_model_validation are defined.") requires_system_checks = True requires_model_validation = True - def handle_noargs(self, **options): + def handle(self, **options): pass |
