MCPcopy Create free account
hub / github.com/pallets/flask / test_flashes

Function test_flashes

tests/test_basic.py:591–597  ·  view source on GitHub ↗
(app, req_ctx)

Source from the content-addressed store, hash-verified

589
590
591def test_flashes(app, req_ctx):
592 assert not flask.session.modified
593 flask.flash("Zap")
594 flask.session.modified = False
595 flask.flash("Zip")
596 assert flask.session.modified
597 assert list(flask.get_flashed_messages()) == ["Zap", "Zip"]
598
599
600def test_extended_flashing(app):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected