Exemplo n.º 1
0
 def test_https_only(self):
     with self.settings(ALLOWED_CALLBACK_SCHEMES=['https']):
         verify_urls('http://foo.com')
Exemplo n.º 2
0
 def test_good(self):
     verify_urls('http://foo.com')
Exemplo n.º 3
0
 def test_ftp(self):
     verify_urls('ftp://foo.com')
Exemplo n.º 4
0
 def test_bad(self):
     verify_urls('foo')