aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/tests/conftest.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/tests/conftest.py b/app/tests/conftest.py
new file mode 100644
index 0000000..3842091
--- /dev/null
+++ b/app/tests/conftest.py
@@ -0,0 +1,11 @@
+import pytest
+
+from app import app as flask_app
+
+@pytest.fixture
+def app():
+ yield flask_app
+
+@pytest.fixture
+def client(app):
+ return app.test_client() \ No newline at end of file