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