conftest.py
This file
Path
examples/javascript/tests/conftest.py
15 lines · 216 bytes · Python
Last changed by
Not known.
History of this fileTake it
The walk stopped after 200 commits: lines older than 5ceb0a5 point at it.
Flask is a lightweight [WSGI] web application framework.
0 open asksLanded
a7b02b3converters have access to sessionDavid Lord ·
examples/javascript/tests/conftest.py
15 lines · 216 bytes · Python
Not known.
History of this file15 lines · 216 bytes · Python
The walk stopped after 200 commits: lines older than 5ceb0a5 point at it.
Merge branch '1.1.x' · Armin Ronacher · before adoption · 5ceb0a5 ·
lines 1–15why, one step back1import pytest23from js_example import app456@pytest.fixture(name="app")7def fixture_app():8 app.testing = True9 yield app10 app.testing = False111213@pytest.fixture14def client(app):15 return app.test_client()