From 25458ede480ed72d517da625f8ea5e99b721f60b Mon Sep 17 00:00:00 2001 From: Marco Ciotola <848222@stud.unive.it> Date: Tue, 3 Mar 2020 13:41:17 +0100 Subject: [PATCH] [tests] Minor test edit --- helios/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helios/tests.py b/helios/tests.py index 5a76907..4b1423e 100644 --- a/helios/tests.py +++ b/helios/tests.py @@ -633,7 +633,7 @@ class ElectionBlackboxTests(WebTest): assert len(the_ballot['answers'][0]['randomness']) == 2, "not enough randomness" # parse it as an encrypted vote, and re-serialize it - ballot = datatypes.LDObject.fromDict(utils.from_json(response.testbody), type_hint='legacy/EncryptedVote') + ballot = datatypes.LDObject.fromDict(the_ballot, type_hint='legacy/EncryptedVote') encrypted_vote = ballot.serialize() # cast the ballot -- GitLab