Example #1
0
    def test_api_ballot_get_decision_by_id(self):

        response = api.ballot_get_decision(self.get_decision_id())
        print(response)
        self.assertFalse("error" in response)
        self.assertIsNotNone(response['result'])
Example #2
0
 def get_voter_id(self):
     return api.ballot_get_decision(self.get_decision_id())['result']['voter_id']