aboutsummaryrefslogtreecommitdiff
path: root/app/tests/test_views.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/tests/test_views.py')
-rw-r--r--app/tests/test_views.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/tests/test_views.py b/app/tests/test_views.py
index f4ae4d8..dbf8cb5 100644
--- a/app/tests/test_views.py
+++ b/app/tests/test_views.py
@@ -59,6 +59,14 @@ def test_user_auth_flow(app, client):
assert res.status_code == 200
assert b"Hi John" in res.data
+ res = client.get("/signin",follow_redirects=True)
+ assert res.status_code == 200
+ assert b"Hi John" in res.data
+
+ res = client.get("/signup",follow_redirects=True)
+ assert res.status_code == 200
+ assert b"Hi John" in res.data
+
res = client.get("/admin/user/")
assert res.status_code == 403