mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-21 22:38:23 +02:00
Fix tests with new stuff
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
@ -532,7 +532,7 @@ class DrawConsumer(AsyncJsonWebsocketConsumer):
|
||||
'visible': True})
|
||||
|
||||
# First send the second pool to have the good team order
|
||||
for r in self.tournament.draw.round_set.filter(number__gte=2).all():
|
||||
async for r in self.tournament.draw.round_set.filter(number__gte=2).all():
|
||||
await self.channel_layer.group_send(f"tournament-{self.tournament.id}",
|
||||
{'tid': self.tournament_id, 'type': 'draw.send_poules',
|
||||
'round': r.number,
|
||||
|
Reference in New Issue
Block a user