]> WPIA git - motion.git/blobdiff - tests/test_motion.py
add: implement unit tests
[motion.git] / 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)