From 8bf47503e976edb29e909326ba9015942ada2392 Mon Sep 17 00:00:00 2001 From: yael noyman Date: Thu, 19 Jan 2023 20:59:26 +0200 Subject: [PATCH] Fix pytest error --- projboard/tests/conftest.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/projboard/tests/conftest.py b/projboard/tests/conftest.py index a274a43..1338618 100644 --- a/projboard/tests/conftest.py +++ b/projboard/tests/conftest.py @@ -5,10 +5,20 @@ CONTENT = "I'm not gonna write all that!" VALID_USER = "smarticleUser" VALID_EMAIL = "user@telhai.ac.il" +VALID_NAME = "smarticleName" VALID_PASSWORD = "smarticlePassword" INVALID_EMAIL = "user.telhai.ac.il" INVALID_PASSWORD_MISMATCH = "smarticlePasswordMismatch" LOGIN_PATH = "login/login.html" +SIGNUP_PATH = "/signup/" +MISMATCH_MESSAGE_ERROR = "Unsuccessful registration. Invalid information." +VALID_DATA = { + 'email': 'example@example.com', + 'name': 'John Doe', + 'nickname': 'johndoe', + 'password': 'password', + 'password_confirm': 'password', +} @pytest.fixture