From 970277e71272687c16d75ffa73fcbb461a1fee80 Mon Sep 17 00:00:00 2001 From: stilbruch Date: Fri, 6 May 2022 14:19:14 -0500 Subject: Add a few more tests and update project outline --- app/tests/conftest.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/tests/conftest.py') diff --git a/app/tests/conftest.py b/app/tests/conftest.py index e13f987..849b5c5 100644 --- a/app/tests/conftest.py +++ b/app/tests/conftest.py @@ -4,6 +4,12 @@ from app import app from tables import User +@pytest.fixture +def client(): + with app.test_client() as client: + yield client + + @pytest.fixture(scope="module") def new_user(): user = User("gymdude99", "bench400soon!", "gymdude99@gmail.com") -- cgit v1.2.3