From 3de9286e61d37287fd8e578b61426d4a84054b40 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Mon, 15 May 2023 17:20:38 +0200 Subject: [PATCH] orthographe --- app/but/jury_but.py | 3 ++- app/entreprises/forms.py | 4 ++-- app/scodoc/sco_apogee_csv.py | 2 +- sco_version.py | 2 +- tests/unit/test_but_cursus.py | 1 + 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/but/jury_but.py b/app/but/jury_but.py index b78a8530..1caa4411 100644 --- a/app/but/jury_but.py +++ b/app/but/jury_but.py @@ -421,7 +421,8 @@ class DecisionsProposeesAnnee(DecisionsProposees): + '
'.join(messages) + "
" ) - # + + # WIP TODO XXX def get_moyenne_annuelle(self) def infos(self) -> str: """informations, for debugging purpose.""" diff --git a/app/entreprises/forms.py b/app/entreprises/forms.py index c50cdd3b..c2b8cdf3 100644 --- a/app/entreprises/forms.py +++ b/app/entreprises/forms.py @@ -318,7 +318,7 @@ class OffreCreationForm(FlaskForm): duree = _build_string_field("Durée (*)") depts = MultiCheckboxField("Départements (*)", validators=[Optional()], coerce=int) expiration_date = DateField("Date expiration", validators=[Optional()]) - correspondant = SelectField("Correspondant à contacté", validators=[Optional()]) + correspondant = SelectField("Correspondant à contacter", validators=[Optional()]) fichier = FileField( "Fichier", validators=[ @@ -373,7 +373,7 @@ class OffreModificationForm(FlaskForm): duree = _build_string_field("Durée (*)") depts = MultiCheckboxField("Départements (*)", validators=[Optional()], coerce=int) expiration_date = DateField("Date expiration", validators=[Optional()]) - correspondant = SelectField("Correspondant à contacté", validators=[Optional()]) + correspondant = SelectField("Correspondant à contacter", validators=[Optional()]) submit = SubmitField("Modifier", render_kw=SUBMIT_MARGE) cancel = SubmitField("Annuler", render_kw=SUBMIT_MARGE) diff --git a/app/scodoc/sco_apogee_csv.py b/app/scodoc/sco_apogee_csv.py index 1449bc65..898647e5 100644 --- a/app/scodoc/sco_apogee_csv.py +++ b/app/scodoc/sco_apogee_csv.py @@ -465,7 +465,7 @@ class ApoEtud(dict): return VOID_APO_RES return dict( - N="", + N="", # n'exporte pas de moyenne indicative annuelle, car pas de définition officielle B=20, J="", R=ScoDocSiteConfig.get_code_apo(self.validation_annee_but.code), diff --git a/sco_version.py b/sco_version.py index 3e13b5ef..8c22b238 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.4.75" +SCOVERSION = "9.4.76" SCONAME = "ScoDoc" diff --git a/tests/unit/test_but_cursus.py b/tests/unit/test_but_cursus.py index 2d6b029a..12b54be1 100644 --- a/tests/unit/test_but_cursus.py +++ b/tests/unit/test_but_cursus.py @@ -63,6 +63,7 @@ def test_cursus_but_jury_gb(test_client): # @pytest.mark.skip # XXX WIP +@pytest.mark.slow def test_refcomp_niveaux_info(test_client): """Test niveaux / parcours / UE pour un BUT INFO avec parcours A et C, même compétences mais coefs différents