test_factory.py
This file
Path
examples/tutorial/tests/test_factory.py
12 lines · 298 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–6why, one step back1from flaskr import create_app234def test_config():5 """Test create_app without passing test config."""6 assert not create_app().testingMerge pull request #3183 from singingwolfboy/pre-commitDavid Baumgoldbefore adoption1dda032
line 7why, one step back7 assert create_app({"TESTING": True}).testingClose tag on js examples.Hsiaoming Yangbefore adoptionb7f6ff4
lines 8–10why, one step back8910def test_hello(client):Merge pull request #3183 from singingwolfboy/pre-commitDavid Baumgoldbefore adoption1dda032
lines 11–12why, one step back11 response = client.get("/hello")12 assert response.data == b"Hello, World!"