This commit is contained in:
2024-08-10 20:26:57 +02:00
commit 62f3ae7881
21 changed files with 189 additions and 0 deletions

0
app/tests/__init__.py Normal file
View File

15
app/tests/conftest.py Normal file
View File

@@ -0,0 +1,15 @@
import pytest
from app.app import create_app
@pytest.fixture
def app():
app = create_app('testing')
app.config.update({"TESTING": True})
yield app
@pytest.fixture
def client(app):
return app.test_client()