Ticket #4833: localhost_email_validation_test_case.diff

File localhost_email_validation_test_case.diff, 641 bytes (added by skabber, 17 years ago)

I attached a simple test case for localhost email validation but the patch 4833.diff causes it to fail.

  • tests/regressiontests/validators/tests.py

     
     1r"""
     2>>> from django.core import validators
     3>>> validators.isValidEmail("test@test.com", "")
     4>>> validators.isValidEmail("test@localhost", "")
     5"""
Back to Top