diff --git a/helios/tests.py b/helios/tests.py index 5c751f92eea760b93f7fd9f3849c3ce8909a5ce0..7dbd3a931b7a1fc4b0e0ebca6549ddc940e6fb1a 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