test /
This commit is contained in:
parent
f3d2cb1e47
commit
2c81110987
2 changed files with 4 additions and 0 deletions
Binary file not shown.
|
@ -17,6 +17,10 @@ def test_favicon(client):
|
||||||
response = client.get("/favicon.ico")
|
response = client.get("/favicon.ico")
|
||||||
assert response.status_code == 200
|
assert response.status_code == 200
|
||||||
|
|
||||||
|
def test_index(client):
|
||||||
|
response = client.get("/")
|
||||||
|
assert 'window.location="/list"' in response.data.decode('utf-8')
|
||||||
|
|
||||||
#/adduser
|
#/adduser
|
||||||
def test_adduser(client):
|
def test_adduser(client):
|
||||||
response = client.get('/adduser/user')
|
response = client.get('/adduser/user')
|
||||||
|
|
Loading…
Reference in a new issue