cycles/tests/conftest.py

16 lines
255 B
Python
Raw Normal View History

2022-04-15 02:47:27 +00:00
import pytest
from period import create_app
@pytest.fixture
def app():
app = create_app({
'TESTING': True
})
@pytest.fixture
def client(app):
return app.test_client()
@pytest.fixture
def runner(app):
return app.test_cli_runner()