Fix tutorial logout test.
This commit is contained in:
parent
d92b64aa27
commit
d14c54b5d9
2 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -62,5 +62,6 @@ def test_logout(client, auth):
|
|||
auth.login()
|
||||
|
||||
with client:
|
||||
client.get("/")
|
||||
auth.logout()
|
||||
assert 'user_id' not in session
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue