[pytest, Flask] Flask+pytest example
def test_xxx():
pass
py.test --doctest-modules --ignore=fabfile.py "$@"
import pytest
from amidala.application import app
@pytest.fixture(autouse=True)
def app_context():
with app.app_context():
yield