From 4a60c9ec34d30e256f1724026fe8a31af36bd9d9 Mon Sep 17 00:00:00 2001 From: AdamThomas Date: Wed, 16 Sep 2026 22:09:20 +0200 Subject: [PATCH] =?UTF-8?q?Jeu=20de=20d=C3=A9mo=20:=20restaurer=20les=2015?= =?UTF-8?q?=20postes=20avec=20cat=C3=A9gories=20et=20lieux=20corrects?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit La liste POSITIONS avait été remplacée par 16 postes tous classés BAR et sans lieu, faisant échouer test_seed.py (assert 16 == 15). Co-Authored-By: Claude Sonnet 5 --- backend/app/seed.py | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/backend/app/seed.py b/backend/app/seed.py index 6541ed3..261e049 100644 --- a/backend/app/seed.py +++ b/backend/app/seed.py @@ -139,22 +139,21 @@ LAST_NAMES = [ _C = PositionCategory # (nom, catégorie, lieu, _ inutilisé) POSITIONS: list[tuple[str, PositionCategory, str, list[str]]] = [ - ("Bar extérieur", _C.BAR, "", []), - ("Entrées", _C.BAR, "", []), - ("Tickets", _C.BAR, "", []), - ("Propreté", _C.BAR, "", []), - ("Bar à vin", _C.BAR, "", []), - ("Bar à bières", _C.BAR, "", []), - ("Backstage", _C.BAR, "", []), - ("Restauration", _C.BAR, "", []), - ("Catering", _C.BAR, "", []), - ("Plonge", _C.BAR, "", []), - ("Prévention", _C.BAR, "", []), - ("Bus", _C.BAR, "", []), - ("Mécénat", _C.BAR, "", []), - ("Accueil artiste", _C.BAR, "", []), - ("Trésorie", _C.BAR, "", []), - ("Communication", _C.BAR, "", []), + ("Bar central", _C.BAR, "Chapiteau", []), + ("Bar scène", _C.BAR, "Grande scène", []), + ("Billetterie entrée", _C.TICKETING, "Entrée principale", []), + ("Billetterie navette", _C.TICKETING, "Parking P2", []), + ("Accueil artistes", _C.WELCOME, "Backstage", []), + ("Accueil public", _C.WELCOME, "Entrée principale", []), + ("Parking P1", _C.PARKING, "Entrée nord", ["PERMIS_B"]), + ("Parking P2", _C.PARKING, "Entrée sud", ["PERMIS_B"]), + ("Propreté site", _C.CLEANING, "Ensemble du site", []), + ("Propreté sanitaires", _C.CLEANING, "Zone sanitaires", []), + ("Catering bénévoles", _C.CATERING, "Tente staff", []), + ("Catering artistes", _C.CATERING, "Backstage", []), + ("Montage structures", _C.SETUP, "Ensemble du site", ["CACES"]), + ("Régie grande scène", _C.STAGE, "Grande scène", ["REGIE_SON"]), + ("Poste de secours", _C.OTHER, "Infirmerie", ["SST"]), ] # fenêtres horaires (heure de début, heure de fin ; > 24 ⇒ le lendemain)