mirror of https://github.com/django/django.git
Refs #22123 -- Added more URLValidator test for invalid IPv6 literals.
This commit is contained in:
parent
5d4f21b16f
commit
61d92c650f
|
@ -294,6 +294,9 @@ TEST_DATA = [
|
|||
(validate_email, 'email@[2001:db8::12345]', ValidationError),
|
||||
(validate_email, 'email@[2001:db8:0:0:0:0:1]', ValidationError),
|
||||
(validate_email, 'email@[::ffff:127.0.0.256]', ValidationError),
|
||||
(validate_email, 'email@[2001:dg8::1]', ValidationError),
|
||||
(validate_email, 'email@[2001:dG8:0:0:0:0:0:1]', ValidationError),
|
||||
(validate_email, 'email@[::fTzF:127.0.0.1]', ValidationError),
|
||||
(validate_email, 'example@invalid-.com', ValidationError),
|
||||
(validate_email, 'example@-invalid.com', ValidationError),
|
||||
(validate_email, 'example@invalid.com-', ValidationError),
|
||||
|
|
Loading…
Reference in New Issue