from src.bingo import func from jinja2 import Template template = Template(open('src/plantilla.j2').read()) file = open("bingo.html", "w") file.write(template.render(tabla = func())) file.close()
from src import bingo from jinja2 import Template carton = bingo.func() bingo.imprimirCarton(carton)
from src import bingo carton1 = bingo.func() def test_imprimir(): assert bingo.imprimirCarton(carton1)
from src import bingo c = bingo.func() def test_diez_en_diez(): assert bingo.diez_en_diez(c)