diff options
author | wim glenn <wim.glenn@gmail.com> | 2016-10-28 10:38:49 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-10-28 11:38:49 -0400 |
commit | 21dd792349ada4b68abf8fa3b50c0041438a89d9 (patch) | |
tree | 082efeddb9cbf76ae98e67b125f51e7f560419ab /tests/validators | |
parent | 1bc249c2a67c24fcd28436c85388eff1d826e305 (diff) | |
download | django-21dd792349ada4b68abf8fa3b50c0041438a89d9.tar.gz |
Fixed #26578 -- Prohibited non-ASCII digits in validate_ipv4_address.
Diffstat (limited to 'tests/validators')
-rw-r--r-- | tests/validators/tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/validators/tests.py b/tests/validators/tests.py index 459324fb74..88273eaae1 100644 --- a/tests/validators/tests.py +++ b/tests/validators/tests.py @@ -138,6 +138,7 @@ TEST_DATA = [ (validate_ipv4_address, '25,1,1,1', ValidationError), (validate_ipv4_address, '25.1 .1.1', ValidationError), (validate_ipv4_address, '1.1.1.1\n', ValidationError), + (validate_ipv4_address, '٧.2٥.3٣.243', ValidationError), # validate_ipv6_address uses django.utils.ipv6, which # is tested in much greater detail in its own testcase |