1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00
This commit is contained in:
Veres Lajos
2014-11-03 22:48:03 +00:00
committed by Tim Graham
parent 7b42036752
commit a71a2ea756
21 changed files with 28 additions and 28 deletions

View File

@@ -56,7 +56,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'])