From 64dc35ec87835ea4418302e86801a547eeeeb10e Mon Sep 17 00:00:00 2001 From: Ben Adida <ben@adida.net> Date: Wed, 8 Dec 2010 19:39:10 -0800 Subject: [PATCH] fixed voter test --- helios/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helios/tests.py b/helios/tests.py index 12b99ce..e5a3222 100644 --- a/helios/tests.py +++ b/helios/tests.py @@ -176,7 +176,7 @@ class VoterModelTests(TestCase): self.election = models.Election.objects.get(short_name='test') def test_create_password_voter(self): - v = models.Voter(uuid = uuid.uuid1(), election = self.election, voter_login_id = 'voter_test_1', voter_name = 'Voter Test 1') + v = models.Voter(uuid = str(uuid.uuid1()), election = self.election, voter_login_id = 'voter_test_1', voter_name = 'Voter Test 1') v.generate_password() v.save() -- GitLab