mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed E128 flake8 warnings in tests/.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user