From d29872548f7095ee629b92b4fe45caa99fc6ea34 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Fri, 4 Jun 2021 01:13:21 +0530 Subject: starting to create tests --- app/tests/conftest.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 app/tests/conftest.py 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 -- cgit v1.2.3