forked from ScoDoc/ScoDoc
Corrige modif non voulue dans tests/unit/yaml_setud_but.py
This commit is contained in:
parent
83059cd995
commit
5f656b431b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user