diff options
| author | stilbruch <stilbruch@protonail.com> | 2022-05-04 18:13:20 -0500 |
|---|---|---|
| committer | stilbruch <stilbruch@protonail.com> | 2022-05-04 18:13:20 -0500 |
| commit | 6a92fe73a176164197706965c82ea98b08bbc2bd (patch) | |
| tree | b2ad6ba3ae765b35f8c50c491356ef4daadb4902 /app/tests/conftest.py | |
| parent | cd14ca37470771042d05e2ece187acf568c41058 (diff) | |
| download | Strengthy-6a92fe73a176164197706965c82ea98b08bbc2bd.tar.xz Strengthy-6a92fe73a176164197706965c82ea98b08bbc2bd.zip | |
Fix tests
Diffstat (limited to 'app/tests/conftest.py')
| -rw-r--r-- | app/tests/conftest.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/app/tests/conftest.py b/app/tests/conftest.py index 9facb1f..e13f987 100644 --- a/app/tests/conftest.py +++ b/app/tests/conftest.py @@ -1,6 +1,10 @@ import pytest -import tables -@pytest.fixture(scope='module') + +from app import app +from tables import User + + +@pytest.fixture(scope="module") def new_user(): - user = User('gymdude99', 'bench400soon!', 'gymdude99@gmail.com') + user = User("gymdude99", "bench400soon!", "gymdude99@gmail.com") return user |
