示例#1
0
 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 + "\"")
示例#2
0
 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 + "\"")
示例#3
0
 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 + "\"")
示例#4
0
 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 + "\"")
示例#5
0
 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 + "\"")
示例#6
0
 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 + "\"")
示例#7
0
 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 + "\"")
示例#8
0
 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 + "\"")