aboutsummaryrefslogtreecommitdiff
path: root/app/tests
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2021-06-04 16:04:42 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2021-06-04 16:04:42 +0530
commit25c5a9b25459664938a60761b8f88e8254c9e7fa (patch)
treed47f0683564fe113aea6139652d6c4d9f1cd5ea3 /app/tests
parent9f4635b6e9f5a4bcc48dd754c52cb5d91c1810a5 (diff)
moved form test
Diffstat (limited to 'app/tests')
-rw-r--r--app/tests/test_views.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/app/tests/test_views.py b/app/tests/test_views.py
index 53c5d28..141c40d 100644
--- a/app/tests/test_views.py
+++ b/app/tests/test_views.py
@@ -35,16 +35,6 @@ def test_visitors(app, client):
assert res.status_code == data2check_visitors[page]["code"]
assert data2check_visitors[page]["data"] in res.data
-def test_forms(app,client):
- res = client.post("/signin",data={"email":"123"})
- assert b"This field is required." in res.data
-
- res = client.post("/signup",data={"email":"123"})
- assert b"This field is required." in res.data
-
- res = client.post("/ContactUs",data={"email":123})
- assert b"This field is required." in res.data
-
def test_user_auth_flow(app, client):
res = client.post("/signup",data=dict(
email="test@example.com",