Skip to content
Snippets Groups Projects
Commit 25458ede authored by Marco Ciotola's avatar Marco Ciotola Committed by Ben Adida
Browse files

[tests] Minor test edit

parent 338e6cd3
No related branches found
No related tags found
No related merge requests found
...@@ -633,7 +633,7 @@ class ElectionBlackboxTests(WebTest): ...@@ -633,7 +633,7 @@ class ElectionBlackboxTests(WebTest):
assert len(the_ballot['answers'][0]['randomness']) == 2, "not enough randomness" assert len(the_ballot['answers'][0]['randomness']) == 2, "not enough randomness"
# parse it as an encrypted vote, and re-serialize it # 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() encrypted_vote = ballot.serialize()
# cast the ballot # cast the ballot
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment