1
0
Fork 0
forked from bton/matekasse
This commit is contained in:
2000-Trek 2023-08-16 23:18:53 +02:00
parent f3d2cb1e47
commit 2c81110987
2 changed files with 4 additions and 0 deletions

View file

@ -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')