From bb1f39c29321eb3db6aac1b953b4389156ead971 Mon Sep 17 00:00:00 2001 From: Ben Adida <ben@adida.net> Date: Mon, 28 Feb 2011 21:55:13 -0800 Subject: [PATCH] updated tests for new voter ID email --- helios/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helios/tests.py b/helios/tests.py index 5c751f9..7dbd3a9 100644 --- a/helios/tests.py +++ b/helios/tests.py @@ -442,7 +442,7 @@ class ElectionBlackboxTests(TestCase): self.assertEquals(email_message.subject, "your password") # get the username and password - username = re.search('username: (.*)', email_message.body).group(1) + username = re.search('voter ID: (.*)', email_message.body).group(1) password = re.search('password: (.*)', email_message.body).group(1) # vote by preparing a ballot via the server-side encryption -- GitLab