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