From e2728aa9457d301d9c299e8e94671d5f06e387bf Mon Sep 17 00:00:00 2001 From: Isamunval Date: Thu, 6 Jan 2022 17:07:20 +0100 Subject: [PATCH] =?UTF-8?q?Test:=20finalizaci=C3=B3n=20test=20d'hondt=20ne?= =?UTF-8?q?gativo;=20#27?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- decide/postproc/tests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/decide/postproc/tests.py b/decide/postproc/tests.py index fe8a8fc6d2..98b22a4596 100644 --- a/decide/postproc/tests.py +++ b/decide/postproc/tests.py @@ -381,4 +381,7 @@ def test_dhondt_mal(self): { "option": "Option 6", "number": 6, "votes": 2 }, ] } + + response = self.client.post('/postproci/', data, format='json') + self.assertEqual(response.status_code, 404)