Пример #1
0
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()
Пример #2
0
from src import bingo
from jinja2 import Template

carton = bingo.func()
bingo.imprimirCarton(carton)
Пример #3
0
from src import bingo

carton1 = bingo.func()


def test_imprimir():
    assert bingo.imprimirCarton(carton1)
Пример #4
0
from src import bingo
c = bingo.func()


def test_diez_en_diez():
    assert bingo.diez_en_diez(c)