]> WPIA git - motion.git/commitdiff
add: implement unit tests
authorINOPIAE <m.maengel@inopiae.de>
Sat, 30 May 2020 12:22:04 +0000 (14:22 +0200)
committerINOPIAE <m.maengel@inopiae.de>
Sat, 30 May 2020 19:31:54 +0000 (21:31 +0200)
tests/test_motion.py

index 3fc34bd0af42c81071b91ef7f420a510442c50d0..fe853852d292ff3e1f7c9c0a60b297fd626f58aa 100644 (file)
@@ -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)