Skip to content

Commit

Permalink
Test: finalización test d'hondt negativo; EGCETSII#27
Browse files Browse the repository at this point in the history
  • Loading branch information
isamunval committed Jan 6, 2022
1 parent 7e3aaf5 commit e2728aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions decide/postproc/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit e2728aa

Please sign in to comment.