From 5f656b431b014caefbb6cb4746ce14a35e99020f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9o=20BARAS=20=28IUT1=20Grenoble=29?= Date: Tue, 20 Feb 2024 09:18:03 +0100 Subject: [PATCH] Corrige modif non voulue dans tests/unit/yaml_setud_but.py --- tests/unit/yaml_setup_but.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/yaml_setup_but.py b/tests/unit/yaml_setup_but.py index b7026c26..c4ab421d 100644 --- a/tests/unit/yaml_setup_but.py +++ b/tests/unit/yaml_setup_but.py @@ -105,7 +105,7 @@ def associe_ues_et_parcours(formation: Formation, formation_infos: dict): # Niveaux compétences: if ue_infos.get("competence"): - competence = referentiel_competence.acronymes_ues_to_competences.filter_by( + competence = referentiel_competence.competences.filter_by( titre=ue_infos["competence"] ).first() assert competence is not None # La compétence de titre indiqué doit exister