rudibridge-mirror/api/tests/conftest.py

15 lines
228 B
Python
Raw Permalink Normal View History

import pytest
from api import create_app
@pytest.fixture()
def app():
app = create_app()
app.config.update({
"TESTING": True
})
yield app
@pytest.fixture()
def client(app):
return app.test_client()