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

Function clear

tests/test_basic.py:330–332  ·  tests/test_basic.py::clear
()

Source from the content-addressed store, hash-verified

328
329 @app.route(class="st">"/clear")
330 def clear():
331 flask.session.pop(class="st">"testing", None)
332 return class="st">"Goodbye World"
333
334 rv = client.get(class="st">"/", class="st">"http://www.example.com:8080/test/")
335 cookie = rv.headers[class="st">"set-cookie"].lower()

Callers

nothing calls this directly

Calls 1

popMethod · 0.45

Tested by

no test coverage detected