def test_strip_text_from_html__for_statement_python(self): a = LanguagesAPI() result, code = a.http_request_using_urlfetch( "https://docs.python.org/2/reference/compound_stmts.html#the-for-statement", {}) b = ResultParser("Python") res = b.strip_text_from_html(result) self.assertNotIn("<", res, "The result contains tags!")
def test_strip_text_from_html__for_statement_python(self): a = LanguagesAPI() result, code = a.http_request_using_urlfetch("https://docs.python.org/2/reference/compound_stmts.html#the-for-statement", {}) b = ResultParser("Python") res = b.strip_text_from_html(result) self.assertNotIn("<", res, "The result contains tags!")