def test_https_only(self): with self.settings(ALLOWED_CALLBACK_SCHEMES=['https']): verify_urls('http://foo.com')
def test_good(self): verify_urls('http://foo.com')
def test_ftp(self): verify_urls('ftp://foo.com')
def test_bad(self): verify_urls('foo')