diff --git a/helios/tests.py b/helios/tests.py index 12b99ce7af48e4c913611f6c581c356ea4a71643..e5a322276d35a44e15b144c3d7b115dd3df29338 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()