diff options
Diffstat (limited to 'tests/bash_completion/tests.py')
| -rw-r--r-- | tests/bash_completion/tests.py | 7 |
1 files changed, 4 insertions, 3 deletions
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) |
