diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-26 18:27:42 -0700 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-26 18:27:42 -0700 |
| commit | b35ff0d9208c426cc0f67c65d724972974734f57 (patch) | |
| tree | 90d724e0b7a367d485712d79bfd4027717c8c08b /tests/model_forms | |
| parent | 3351e94ffa37d3824a49b687125ee4a430b69bbe (diff) | |
Fixed all the E203 violations
Diffstat (limited to 'tests/model_forms')
| -rw-r--r-- | tests/model_forms/tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/model_forms/tests.py b/tests/model_forms/tests.py index 0db4ad7567..2da852d11e 100644 --- a/tests/model_forms/tests.py +++ b/tests/model_forms/tests.py @@ -1751,7 +1751,7 @@ class OldFormForXTests(TestCase): self.assertHTMLEqual(six.text_type(CustomFieldForExclusionForm()), '''<tr><th><label for="id_name">Name:</label></th><td><input id="id_name" type="text" name="name" maxlength="10" /></td></tr>''') - def test_iterable_model_m2m(self) : + def test_iterable_model_m2m(self): colour = Colour.objects.create(name='Blue') form = ColourfulItemForm() self.maxDiff = 1024 @@ -1763,7 +1763,7 @@ class OldFormForXTests(TestCase): </select> <span class="helptext"> Hold down "Control", or "Command" on a Mac, to select more than one.</span></p>""" % {'blue_pk': colour.pk}) - def test_custom_error_messages(self) : + def test_custom_error_messages(self): data = {'name1': '@#$!!**@#$', 'name2': '@#$!!**@#$'} errors = CustomErrorMessageForm(data).errors self.assertHTMLEqual( @@ -1775,7 +1775,7 @@ class OldFormForXTests(TestCase): '<ul class="errorlist"><li>Model custom error message.</li></ul>' ) - def test_model_clean_error_messages(self) : + def test_model_clean_error_messages(self): data = {'name1': 'FORBIDDEN_VALUE', 'name2': 'ABC'} errors = CustomErrorMessageForm(data).errors self.assertHTMLEqual( |
