diff options
| author | Hasan Ramezani <hasan.r67@gmail.com> | 2020-05-14 00:00:41 +0200 |
|---|---|---|
| committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2020-05-21 12:34:54 +0200 |
| commit | c60524c658f197f645b638f9bcc553103bfe2630 (patch) | |
| tree | 46c3f2c654626caddbd2764b195adf2fcb4a21fa /tests/admin_scripts/tests.py | |
| parent | a4e6030904df63b3f10aa0729b86dc6942b0458e (diff) | |
Fixed #31546 -- Allowed specifying list of tags in Command.requires_system_checks.
Diffstat (limited to 'tests/admin_scripts/tests.py')
| -rw-r--r-- | tests/admin_scripts/tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py index fac1c99c97..47efe0bdd0 100644 --- a/tests/admin_scripts/tests.py +++ b/tests/admin_scripts/tests.py @@ -1395,7 +1395,7 @@ class ManageTestserver(SimpleTestCase): # the commands are correctly parsed and processed. ########################################################################## class ColorCommand(BaseCommand): - requires_system_checks = False + requires_system_checks = [] def handle(self, *args, **options): self.stdout.write('Hello, world!', self.style.ERROR) @@ -1541,7 +1541,7 @@ class CommandTypes(AdminScriptTestCase): def test_custom_stdout(self): class Command(BaseCommand): - requires_system_checks = False + requires_system_checks = [] def handle(self, *args, **options): self.stdout.write("Hello, World!") @@ -1558,7 +1558,7 @@ class CommandTypes(AdminScriptTestCase): def test_custom_stderr(self): class Command(BaseCommand): - requires_system_checks = False + requires_system_checks = [] def handle(self, *args, **options): self.stderr.write("Hello, World!") |
