diff options
| author | Sascha Peilicke <saschpe@gmx.de> | 2013-10-07 16:33:47 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-11 13:41:38 -0400 |
| commit | 848101bf1736d1c01eb86968e85a14c7466bb376 (patch) | |
| tree | 1e18d36b1e2688cfe66b992f5925ea78d8389045 /tests/validators | |
| parent | e527c0b6d808cb8e4bedf79ded3dc4ad1a7e17a8 (diff) | |
Added tests for URLValidator schemes.
Diffstat (limited to 'tests/validators')
| -rw-r--r-- | tests/validators/tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/validators/tests.py b/tests/validators/tests.py index 9be49d7726..0beae52a83 100644 --- a/tests/validators/tests.py +++ b/tests/validators/tests.py @@ -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), |
