def test_esta_en_wiktionary_consulta_palabra_comun(self): texto = "hola" self.assertTrue(Wiktionary.pertenece_consulta(texto), "Debería estar en wiktionary el texto \"" + texto + "\"")
def test_esta_en_wiktionary_consulta_palabra_inexistente(self): texto = "jajajajaaaaaaaa" self.assertFalse(Wiktionary.pertenece_consulta(texto), "No debería estar en wiktionary el texto \"" + texto + "\"")
def test_esta_en_wiktionary_consulta_palabra_inexistente2(self): texto = "aldnkvnvrbyweruvnrhuvhuirbv" self.assertFalse(Wiktionary.pertenece_consulta(texto), "No debería estar en wiktionary el texto \"" + texto + "\"")
def test_esta_en_wiktionary_consulta_error_de_tipeo(self): texto = "holaa" self.assertFalse(Wiktionary.pertenece_consulta(texto), "No debería estar en wiktionary el texto \"" + texto + "\"")