Skip to content
Snippets Groups Projects
Commit 64dc35ec authored by Ben Adida's avatar Ben Adida
Browse files

fixed voter test

parent e7ec6f16
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment