Example #1
0
 def runTest(self):
   r = checkURL('http://bear.im/42')
   assert len(r) == 1
   assert 'bear.im/42' in r[0]
Example #2
0
 def runTest(self):
   r = checkURL('http://bear.im')
   assert len(r) == 0
Example #3
0
 def runTest(self):
   r = checkURL('https://expired.badssl.com')
   assert len(r) == 1
   assert 'certificate verify failed' in r[0]