mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 12:41:49 +02:00
fix test to match reality
This commit is contained in:
parent
b2de21166f
commit
db159d7f30
1 changed files with 2 additions and 2 deletions
|
@ -499,8 +499,8 @@ class BudgetTestCase(IhatemoneyTestCase):
|
|||
self.assertTrue(session["raclette"])
|
||||
|
||||
# logout should work with POST only
|
||||
c.get("/exit")
|
||||
self.assertIn("raclette", session)
|
||||
resp = c.get("/exit")
|
||||
self.assertStatus(405, resp)
|
||||
|
||||
# logout should wipe the session out
|
||||
c.post("/exit")
|
||||
|
|
Loading…
Reference in a new issue