summaryrefslogtreecommitdiff
path: root/app/tests/conftest.py
diff options
context:
space:
mode:
authorstilbruch <stilbruch@protonmail.com>2022-05-06 14:19:14 -0500
committerstilbruch <stilbruch@protonmail.com>2022-05-06 14:19:14 -0500
commit970277e71272687c16d75ffa73fcbb461a1fee80 (patch)
treee3e47dda5edbb36fbd737068bd908936f395f328 /app/tests/conftest.py
parentc573605ac77b82068de0961a0309cdf07e4d7b65 (diff)
downloadStrengthy-970277e71272687c16d75ffa73fcbb461a1fee80.tar.xz
Strengthy-970277e71272687c16d75ffa73fcbb461a1fee80.zip
Add a few more tests and update project outline
Diffstat (limited to 'app/tests/conftest.py')
-rw-r--r--app/tests/conftest.py6
1 files changed, 6 insertions, 0 deletions
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")