Kaydet (Commit) 848101bf authored tarafından Sascha Peilicke's avatar Sascha Peilicke Kaydeden (comit) Tim Graham

Added tests for URLValidator schemes.

üst e527c0b6
......@@ -145,6 +145,9 @@ TEST_DATA = (
(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),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment