Fix tutorial logout test.

This commit is contained in:
Mick Killianey 2021-07-16 03:14:50 -07:00
parent d92b64aa27
commit d14c54b5d9
2 changed files with 2 additions and 0 deletions

View file

@ -349,6 +349,7 @@ not contain ``user_id`` after logging out.
auth.login()
with client:
client.get('/')
auth.logout()
assert 'user_id' not in session

View file

@ -62,5 +62,6 @@ def test_logout(client, auth):
auth.login()
with client:
client.get("/")
auth.logout()
assert 'user_id' not in session