Revize 2e646e3b
Přidáno uživatelem Jan Pašek před více než 3 roky(ů)
tests/sample_test.py | ||
---|---|---|
7 | 7 |
res = client.get('/') |
8 | 8 |
|
9 | 9 |
# check HTTP status code |
10 |
assert res.status_code == 200 |
|
11 |
|
|
12 |
# check response content |
|
13 |
assert res.get_data(as_text=True) == "Welcome to the X.509 management application homepage!" |
|
10 |
assert res.status_code == 302 |
Také k dispozici: Unified diff
Re #8475 - Added redirect from "/" to "/static/index.html"