Re-format all files

This commit is contained in:
Swen Kooij
2019-10-19 12:43:17 +03:00
parent 4ee1a5f487
commit 7cdd1f4490
41 changed files with 836 additions and 812 deletions

View File

@@ -9,8 +9,8 @@ class LocalizedFieldFormTestCase(TestCase):
@staticmethod
def test_init():
"""Tests whether the constructor correctly
creates a field for every language."""
"""Tests whether the constructor correctly creates a field for every
language."""
# case required for specific language
form = LocalizedFieldForm(required=[settings.LANGUAGE_CODE])
@@ -42,8 +42,7 @@ class LocalizedFieldFormTestCase(TestCase):
@staticmethod
def test_compress():
"""Tests whether the :see:compress function
is working properly."""
"""Tests whether the :see:compress function is working properly."""
input_value = [lang_name for _, lang_name in settings.LANGUAGES]
output_value = LocalizedFieldForm().compress(input_value)