aswi2021jmsd-gitlab/tests/sample_test.py @ 2e646e3b
1 |
def test_addition(): |
---|---|
2 |
assert 1 + 1 == 2 |
3 |
|
4 |
|
5 |
def test_index(client): |
6 |
# fetch index page
|
7 |
res = client.get('/') |
8 |
|
9 |
# check HTTP status code
|
10 |
assert res.status_code == 302 |
- « Předchozí
- 1
- 2
- 3
- Další »