(app: Quart)
| 80 | |
| 81 | |
| 82 | async def test_flash_category(app: Quart) -> None: |
| 83 | async with app.test_request_context("/"): |
| 84 | await flash("bar", "error") |
| 85 | await flash("foo", "info") |
| 86 | assert get_flashed_messages(with_categories=True) == [ |
| 87 | ("error", "bar"), |
| 88 | ("info", "foo"), |
| 89 | ] |
| 90 | assert get_flashed_messages(with_categories=True) == [ |
| 91 | ("error", "bar"), |
| 92 | ("info", "foo"), |
| 93 | ] |
| 94 | |
| 95 | |
| 96 | async def test_flash_category_filter(app: Quart) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…