MCPcopy
hub / github.com/pallets/flask / app

Function app

tests/conftest.py:45–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43
44@pytest.fixture
45def app():
46 app = Flask("flask_test", root_path=os.path.dirname(__file__))
47 app.config.update(
48 TESTING=True,
49 SECRET_KEY="test key",
50 )
51 return app
52
53
54@pytest.fixture

Callers

nothing calls this directly

Calls 1

FlaskClass · 0.90

Tested by

no test coverage detected