()
| 623 | |
| 624 | @app.route("/test_with_categories/") |
| 625 | def test_with_categories(): |
| 626 | messages = flask.get_flashed_messages(with_categories=True) |
| 627 | assert len(messages) == 3 |
| 628 | assert list(messages) == [ |
| 629 | ("message", "Hello World"), |
| 630 | ("error", "Hello World"), |
| 631 | ("warning", Markup("<em>Testing</em>")), |
| 632 | ] |
| 633 | return "" |
| 634 | |
| 635 | @app.route("/test_filter/") |
| 636 | def test_filter(): |
nothing calls this directly
no outgoing calls
no test coverage detected