Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added tests for URLValidator schemes.

  • Loading branch information...
commit 848101bf1736d1c01eb86968e85a14c7466bb376 1 parent e527c0b
Sascha Peilicke saschpe authored timgraham committed
Showing with 3 additions and 0 deletions.
  1. +3 −0  tests/validators/tests.py
3  tests/validators/tests.py
View
@@ -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),
Please sign in to comment.
Something went wrong with that request. Please try again.