1
0
mirror of https://github.com/django/django.git synced 2025-10-25 22:56:12 +00:00
Backport of a71a2ea756 from master
This commit is contained in:
Veres Lajos
2014-11-03 22:48:03 +00:00
committed by Tim Graham
parent 378f94e39e
commit 6b32adda59
20 changed files with 27 additions and 27 deletions

View File

@@ -51,7 +51,7 @@ class BaseModelValidationTests(ValidationTestCase):
mtv = ModelToValidate(number=10, name='Some Name', url='not a url')
self.assertFieldFailsValidationWithMessage(mtv.full_clean, 'url', ['Enter a valid URL.'])
def test_text_greater_that_charfields_max_length_raises_erros(self):
def test_text_greater_that_charfields_max_length_raises_errors(self):
mtv = ModelToValidate(number=10, name='Some Name' * 100)
self.assertFailsValidation(mtv.full_clean, ['name'])