diff options
| author | stilbruch <stilbruch@protonmail.com> | 2022-05-06 14:19:14 -0500 |
|---|---|---|
| committer | stilbruch <stilbruch@protonmail.com> | 2022-05-06 14:19:14 -0500 |
| commit | 970277e71272687c16d75ffa73fcbb461a1fee80 (patch) | |
| tree | e3e47dda5edbb36fbd737068bd908936f395f328 /app/tests/conftest.py | |
| parent | c573605ac77b82068de0961a0309cdf07e4d7b65 (diff) | |
| download | Strengthy-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.py | 6 |
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") |
