From 8cdf0f76acf9f0e22417cbe3ef80b784e2e975e6 Mon Sep 17 00:00:00 2001 From: INOPIAE Date: Sat, 30 May 2020 14:22:04 +0200 Subject: [PATCH] add: implement unit tests --- tests/test_motion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_motion.py b/tests/test_motion.py index 3fc34bd..fe85385 100644 --- a/tests/test_motion.py +++ b/tests/test_motion.py @@ -222,7 +222,7 @@ class VoterTests(BasicTest): response = self.createVote(user, motion, 'no') self.assertEqual(response.status_code, 302) result = self.app.get('/', environ_base={'USER_ROLES': user}) - resulttext=self.buildResultText('A fourth motion', 0, 1, 0) + resulttext=self.buildResultText('A fourth motion', 0, 1, 0) self.assertIn(str.encode(resulttext), result.data) response = self.createVote(user, motion, 'abstain') self.assertEqual(response.status_code, 302) -- 2.39.2