from terminal_text_color import TextColor tc = TextColor() print(tc.default_yellow("Universidad Nacional Autonoma de Mexico")) print(tc.bold_blue("Facultad de Estudios Superiores Aragon")) print(tc.bold_green("Sebastian Rodrigo Villa Luna"))
def testColorYellow (self): tc = TextColor() texto = "Hola" textoesperado = "\x1b[0;33;49m"+texto+"\x1b[0m" self.assertEqual(tc.default_yellow(texto), textoesperado)