From 92053acbb9160862c3e743a99ed8ccff8d4f8fd6 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 7 Apr 2016 22:04:45 -0400 Subject: Fixed E128 flake8 warnings in tests/. --- tests/bash_completion/management/commands/test_command.py | 3 +-- tests/bash_completion/tests.py | 7 ++++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/bash_completion') diff --git a/tests/bash_completion/management/commands/test_command.py b/tests/bash_completion/management/commands/test_command.py index d2adf91e5a..91ec36c2af 100644 --- a/tests/bash_completion/management/commands/test_command.py +++ b/tests/bash_completion/management/commands/test_command.py @@ -3,8 +3,7 @@ from django.core.management.base import BaseCommand class Command(BaseCommand): def add_arguments(self, parser): - parser.add_argument("--list", action="store_true", dest="list", - help="Print all options") + parser.add_argument("--list", action="store_true", dest="list", help="Print all options") def handle(self, *args, **options): pass diff --git a/tests/bash_completion/tests.py b/tests/bash_completion/tests.py index b12a0cecdc..1d35e1f28e 100644 --- a/tests/bash_completion/tests.py +++ b/tests/bash_completion/tests.py @@ -97,7 +97,8 @@ class BashCompletionTests(unittest.TestCase): "Application names will be autocompleted for an AppCommand" self._user_input('django-admin sqlmigrate a') output = self._run_autocomplete() - a_labels = sorted(app_config.label - for app_config in apps.get_app_configs() - if app_config.label.startswith('a')) + a_labels = sorted( + app_config.label for app_config in apps.get_app_configs() + if app_config.label.startswith('a') + ) self.assertEqual(output, a_labels) -- cgit v1.3