We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2692134 commit 13945e4Copy full SHA for 13945e4
backend/tests/conftest.py
@@ -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