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 + "\"")
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 + "\"")