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 21b0aa6 point at it.
Add prefix for all commands in documentation (#2877)Grey Libefore adoption21b0aa6
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}).testingAdd prefix for all commands in documentation (#2877)Grey Libefore adoption21b0aa6
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!"