MCPcopy Create free account
hub / github.com/pallets/quart / test_flash

Function test_flash

tests/test_helpers.py:75–79  ·  view source on GitHub ↗
(app: Quart)

Source from the content-addressed store, hash-verified

73
74
75async def test_flash(app: Quart) -> None:
76 async with app.test_request_context("/"):
77 await flash("message")
78 assert get_flashed_messages() == ["message"]
79 assert get_flashed_messages() == ["message"]
80
81
82async def test_flash_category(app: Quart) -> None:

Callers

nothing calls this directly

Calls 3

flashFunction · 0.90
get_flashed_messagesFunction · 0.90
test_request_contextMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…