Beispiel #1
0
 def test_caracteres_no_espanoles_euro(self):
     texto = "€"
     self.assertTrue(contiene_caracteres_no_espanoles(texto),
                     "Deberían haber caracteres no españoles en el texto \"" + texto + "\"")
Beispiel #2
0
 def test_caracteres_no_espanoles_espanol(self):
     texto = "ñandú"
     self.assertFalse(contiene_caracteres_no_espanoles(texto),
                      "Deberían ser todos los caracteres españoles en el texto \"" + texto + "\"")