diff options
| author | Claude Paroz <claude@2xlibre.net> | 2012-10-09 15:01:38 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2012-10-09 15:08:32 +0200 |
| commit | 273b96ef9d3acb25d69e206555412774abab6022 (patch) | |
| tree | 4d4c1f9d2df0b2b7a52a6c72efc9f15d51f4cb77 /tests | |
| parent | 8cb9968a91cf533cb82e1e13948551e91b510878 (diff) | |
Fixed #17867 -- Made email validation pass with IDN domains
Thanks Pierre Matri for the report and the initial patch.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/modeltests/validators/tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/modeltests/validators/tests.py b/tests/modeltests/validators/tests.py index 5f93b1631b..0174a606df 100644 --- a/tests/modeltests/validators/tests.py +++ b/tests/modeltests/validators/tests.py @@ -28,6 +28,7 @@ TEST_DATA = ( (validate_email, 'email@[127.0.0.1]', None), (validate_email, 'example@valid-----hyphens.com', None), (validate_email, 'example@valid-with-hyphens.com', None), + (validate_email, 'test@domain.with.idn.tld.उदाहरण.परीक्षा', None), (validate_email, None, ValidationError), (validate_email, '', ValidationError), |
