From 25c5a9b25459664938a60761b8f88e8254c9e7fa Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Fri, 4 Jun 2021 16:04:42 +0530 Subject: moved form test --- app/tests/test_views.py | 10 ---------- 1 file changed, 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", -- cgit v1.2.3