diff --git a/ihatemoney/tests/history_test.py b/ihatemoney/tests/history_test.py index 5938d832..0c816477 100644 --- a/ihatemoney/tests/history_test.py +++ b/ihatemoney/tests/history_test.py @@ -251,7 +251,11 @@ class HistoryTestCase(IhatemoneyTestCase): ) # Clear Existing Entries - resp = self.client.post("/demo/erase_history", follow_redirects=True) + resp = self.client.post( + "/demo/erase_history", + data={"password": "demo"}, + follow_redirects=True, + ) self.assertEqual(resp.status_code, 200) self.assert_empty_history_logging_disabled() @@ -296,7 +300,12 @@ class HistoryTestCase(IhatemoneyTestCase): self.assertEqual(resp.data.decode("utf-8").count("