示例#1
0
 def is_ssl(self):
     return UrlUtils.is_ssl(self.url)
示例#2
0
 def test_url_is_ssl(self):
     self.assertTrue(UrlUtils.is_ssl("https://woo.test:8888"))
     self.assertFalse(UrlUtils.is_ssl("http://woo.test:8888"))