fix test to match reality

This commit is contained in:
Glandos 2022-07-12 22:39:09 +02:00
parent b2de21166f
commit db159d7f30

View file

@ -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")