mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed E225 pep8 warnings.
This commit is contained in:
parent
51d2e1fb23
commit
ae48d77ef8
43 changed files with 102 additions and 91 deletions
|
@ -24,7 +24,7 @@ class BaseModelValidationTests(ValidationTestCase):
|
|||
self.assertFailsValidation(mtv.full_clean, [NON_FIELD_ERRORS, 'name'])
|
||||
|
||||
def test_wrong_FK_value_raises_error(self):
|
||||
mtv=ModelToValidate(number=10, name='Some Name', parent_id=3)
|
||||
mtv = ModelToValidate(number=10, name='Some Name', parent_id=3)
|
||||
self.assertFailsValidation(mtv.full_clean, ['parent'])
|
||||
|
||||
def test_correct_FK_value_validates(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue