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

Class FailingSessionInterface

tests/test_reqctx.py:209–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207 pass
208
209 class FailingSessionInterface(SessionInterface):
210 def open_session(self, app, request):
211 raise SessionError()
212
213 class CustomFlask(flask.Flask):
214 session_interface = FailingSessionInterface()

Callers 1

CustomFlaskClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected