diff options
-rw-r--r-- | tests/integration/conftest.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py new file mode 100644 index 0000000..be58d80 --- /dev/null +++ b/tests/integration/conftest.py @@ -0,0 +1,12 @@ +import pytest + +from gn3.app import create_app + +@pytest.fixture(scope="session") +def client(): + # Do some setup + app = create_app() + app.config.update({"TESTING": True}) + app.testing = True + yield app.test_client() + # Do some teardown/cleanup |