1
0
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:
Emmy D'Anello
2024-06-07 16:39:43 +02:00
parent c12972b718
commit ea03bd314b
2 changed files with 7 additions and 3 deletions

View File

@ -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,