openlp/tests/openlp_core/api/v2/conftest.py
2021-04-24 16:55:38 +00:00

10 lines
188 B
Python

import pytest
from openlp.core.api import app as flask_app
@pytest.fixture(scope='module')
def flask_client():
flask_app.config['TESTING'] = True
return flask_app.test_client()