Skip to content
Myr

test_factory.py

This file

Path

examples/tutorial/tests/test_factory.py

12 lines · 298 bytes · Python

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than 1234eb0 point at it.

Merge pull request #3408 from lamby/943674-flask-please-make-the-build-reproducibleDavid Lordbefore adoption1234eb0

lines 1–12why, one step back
1from flaskr import create_app
234def test_config():5 """Test create_app without passing test config."""6 assert not create_app().testing7 assert create_app({"TESTING": True}).testing8910def test_hello(client):11 response = client.get("/hello")12 assert response.data == b"Hello, World!"