aboutsummaryrefslogtreecommitdiff
path: root/tests/integration/conftest.py
blob: be58d80a6011381f62258ae511627990d9a31fe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
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