Projekt

Obecné

Profil

Stáhnout (182 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1 7065d97a Stanislav Král
def test_addition():
2 9f021e9c Stanislav Král
    assert 1 + 1 == 2
3 7065d97a Stanislav Král
4
5
def test_index(client):
6
    # fetch index page
7
    res = client.get('/')
8
9
    # check HTTP status code
10 2e646e3b Jan Pašek
    assert res.status_code == 302