mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed E128 flake8 warnings in tests/.
This commit is contained in:
parent
df8d8d4292
commit
92053acbb9
148 changed files with 2073 additions and 2248 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue