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

Function test_logout

examples/tutorial/tests/test_auth.py:64–69  ·  view source on GitHub ↗
(client, auth)

Source from the content-addressed store, hash-verified

62
63
64def test_logout(client, auth):
65 auth.login()
66
67 with client:
68 auth.logout()
69 assert "user_id" not in session

Callers

nothing calls this directly

Calls 2

loginMethod · 0.80
logoutMethod · 0.80

Tested by

no test coverage detected