Example #1
0
 def test_local_http_check_google(self):
     url = "http://www.google.com"
     string = "Google"
     self.assertTrue(test.local_http_check(url, string))
Example #2
0
 def test_local_http_check_google_false(self):
     url = "http://www.google.com"
     string = "NotThere"
     self.assertFalse(test.local_http_check(url, string))