diff --git a/tests/validation/tests.py b/tests/validation/tests.py
index b571e0c..7de5647 100644
a
|
b
|
class BaseModelValidationTests(ValidationTestCase):
|
47 | 47 | mtv = ModelToValidate(number=10, name='Some Name', email='valid@email.com') |
48 | 48 | self.assertEqual(None, mtv.full_clean()) |
49 | 49 | |
| 50 | def test_trailing_dot_on_email_passes(self): |
| 51 | #regression test for #12027 |
| 52 | mtv = ModelToValidate(number=10, name="Some Name", email="should@pass.com.") |
| 53 | self.assertEqual(None, mtv.full_clean()) |
| 54 | |
50 | 55 | def test_wrong_url_value_raises_error(self): |
51 | 56 | mtv = ModelToValidate(number=10, name='Some Name', url='not a url') |
52 | 57 | self.assertFieldFailsValidationWithMessage(mtv.full_clean, 'url', ['Enter a valid URL.']) |