From 10a16a3b5cf13ca6ca2a1f060901b2bc943098ca Mon Sep 17 00:00:00 2001 From: 0livd <0livd@users.noreply.github.com> Date: Sun, 12 Mar 2017 22:47:54 +0100 Subject: [PATCH] Fix broken authentication test --- budget/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/budget/tests.py b/budget/tests.py index 8905a6e2..b890f8ab 100644 --- a/budget/tests.py +++ b/budget/tests.py @@ -302,7 +302,7 @@ class BudgetTestCase(TestCase): # try to see the project while not being authenticated should redirect # to the authentication page - resp = self.app.post("/raclette", follow_redirects=True) + resp = self.app.get("/raclette", follow_redirects=True) self.assertIn("Authentication", resp.data) # try to connect with wrong credentials should not work