conftest.py
This file
Path
examples/javascript/tests/conftest.py
15 lines · 216 bytes · Python
Last changed by
Merge pull request #3183 from singingwolfboy/pre-commitDavid Baumgoldbefore adoption1dda032
History of this fileTake it
The walk stopped after 200 commits: lines older than b7f6ff4 point at it.
Close tag on js examples.Hsiaoming Yangbefore adoptionb7f6ff4
lines 1–5why, one step back1import pytest23from js_example import app45Merge pull request #3183 from singingwolfboy/pre-commitDavid Baumgoldbefore adoption1dda032
line 6why, one step back6@pytest.fixture(name="app")Close tag on js examples.Hsiaoming Yangbefore adoptionb7f6ff4
lines 7–15why, one step back7def fixture_app():8 app.testing = True9 yield app10 app.testing = False111213@pytest.fixture14def client(app):15 return app.test_client()