openlp/tests/openlp_core/api/v2/conftest.py

10 lines
188 B
Python
Raw Normal View History

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()