Fix model test

This commit is contained in:
Ludovic Stephan 2018-01-10 20:14:27 +01:00
parent 501d592d2f
commit 52fd49616d

View file

@ -67,7 +67,7 @@ class SpectacleReventeTests(TestCase):
revente = self.rev
wanted_by = [self.p1, self.p2, self.p3]
revente.answered_mail = wanted_by
revente.confirmed_entry = wanted_by
with mock.patch('bda.models.random.choice') as mc:
# Set winner to self.p1.