Skip to content

Commit 13945e4

Browse files
committed
and again
1 parent 2692134 commit 13945e4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

backend/tests/conftest.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import pytest
2+
from app import app as flask_app
3+
4+
@pytest.fixture
5+
def client():
6+
flask_app.config["TESTING"] = True
7+
with flask_app.test_client() as client:
8+
yield client

0 commit comments

Comments
 (0)