Permalink
Browse files

Added tests for URLValidator schemes.

  • Loading branch information...
1 parent e527c0b commit 848101bf1736d1c01eb86968e85a14c7466bb376 @saschpe saschpe committed with timgraham Oct 7, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 tests/validators/tests.py
View
3 tests/validators/tests.py
@@ -145,6 +145,9 @@
(URLValidator(), 'http://valid-----hyphens.com/', None),
(URLValidator(), 'http://example.com?something=value', None),
(URLValidator(), 'http://example.com/index.php?something=value&another=value2', None),
+ (URLValidator(), 'https://example.com/', None)
+ (URLValidator(), 'ftp://example.com/', None)
+ (URLValidator(), 'ftps://example.com/', None)
(URLValidator(), 'foo', ValidationError),
(URLValidator(), 'http://', ValidationError),

0 comments on commit 848101b

Please sign in to comment.