Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added tests for URLValidator schemes.

  • Loading branch information...
commit 848101bf1736d1c01eb86968e85a14c7466bb376 1 parent e527c0b
Sascha Peilicke authored October 07, 2013 timgraham committed October 11, 2013

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  tests/validators/tests.py
3  tests/validators/tests.py
@@ -145,6 +145,9 @@
145 145
     (URLValidator(), 'http://valid-----hyphens.com/', None),
146 146
     (URLValidator(), 'http://example.com?something=value', None),
147 147
     (URLValidator(), 'http://example.com/index.php?something=value&another=value2', None),
  148
+    (URLValidator(), 'https://example.com/', None)
  149
+    (URLValidator(), 'ftp://example.com/', None)
  150
+    (URLValidator(), 'ftps://example.com/', None)
148 151
 
149 152
     (URLValidator(), 'foo', ValidationError),
150 153
     (URLValidator(), 'http://', ValidationError),

0 notes on commit 848101b

Please sign in to comment.
Something went wrong with that request. Please try again.