def test_esta_en_google_consulta_palabra_comun(self): texto = "hola" self.assertTrue(Google.esta_en_google_consulta(texto), "Debería estar en google el texto \"" + texto + "\"")
def test_esta_en_google_consulta_palabra_inexistente(self): texto = "jajajajaaaaaaaa" self.assertFalse(Google.esta_en_google_consulta(texto), "No debería estar en google el texto \"" + texto + "\"")
def test_esta_en_google_consulta_palabra_inexistente2(self): texto = "aldnkvnvrbyweruvnrhuvhuirbv" self.assertFalse(Google.esta_en_google_consulta(texto), "No debería estar en google el texto \"" + texto + "\"")
def test_esta_en_google_consulta_error_de_tipeo(self): texto = "trvaesuras" # "holaa" comenzó a estar en google self.assertFalse(Google.esta_en_google_consulta(texto), "No debería estar en google el texto \"" + texto + "\"")
def test_esta_en_google_consulta_palabra_comun(self): texto = "hola" self.assertTrue(Google.esta_en_google_consulta(texto), "Debería estar en google el texto \"" + texto + "\"")
def test_esta_en_google_consulta_palabra_inexistente2(self): texto = "aldnkvnvrbyweruvnrhuvhuirbv" self.assertFalse( Google.esta_en_google_consulta(texto), "No debería estar en google el texto \"" + texto + "\"")
def test_esta_en_google_consulta_palabra_inexistente(self): texto = "jajajajaaaaaaaa" self.assertFalse( Google.esta_en_google_consulta(texto), "No debería estar en google el texto \"" + texto + "\"")
def test_esta_en_google_consulta_error_de_tipeo(self): texto = "trvaesuras" # "holaa" comenzó a estar en google self.assertFalse( Google.esta_en_google_consulta(texto), "No debería estar en google el texto \"" + texto + "\"")