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