forked from ScoDoc/DocScoDoc
NA0 -> NA
This commit is contained in:
parent
2f72401ba1
commit
bd5c4d8243
@ -200,7 +200,7 @@ def test_notes_modules(test_client):
|
|||||||
sem["formsemestre_id"],
|
sem["formsemestre_id"],
|
||||||
ue["ue_id"],
|
ue["ue_id"],
|
||||||
mi["moduleimpl_id"],
|
mi["moduleimpl_id"],
|
||||||
expected_mod_moy="NA0",
|
expected_mod_moy="NA",
|
||||||
expected_moy_ue=0.0,
|
expected_moy_ue=0.0,
|
||||||
expected_sum_coefs_ue=0.0,
|
expected_sum_coefs_ue=0.0,
|
||||||
)
|
)
|
||||||
@ -216,7 +216,7 @@ def test_notes_modules(test_client):
|
|||||||
sem["formsemestre_id"],
|
sem["formsemestre_id"],
|
||||||
ue["ue_id"],
|
ue["ue_id"],
|
||||||
mi["moduleimpl_id"],
|
mi["moduleimpl_id"],
|
||||||
expected_mod_moy="NA0",
|
expected_mod_moy="NA",
|
||||||
expected_moy_ue=0.0,
|
expected_moy_ue=0.0,
|
||||||
expected_sum_coefs_ue=0.0,
|
expected_sum_coefs_ue=0.0,
|
||||||
)
|
)
|
||||||
@ -291,7 +291,7 @@ def test_notes_modules(test_client):
|
|||||||
assert ue_status["nb_missing"] == 0
|
assert ue_status["nb_missing"] == 0
|
||||||
assert ue_status["nb_notes"] == 2
|
assert ue_status["nb_notes"] == 2
|
||||||
|
|
||||||
# Moyenne d'UE si l'un des modules est EXC ("NA0")
|
# Moyenne d'UE si l'un des modules est EXC ("NA")
|
||||||
# 2 modules, notes EXC dans le premier, note valide n dans le second
|
# 2 modules, notes EXC dans le premier, note valide n dans le second
|
||||||
# la moyenne de l'UE doit être n
|
# la moyenne de l'UE doit être n
|
||||||
_, _, _ = G.create_note(evaluation=e1, etud=etud, note=scu.NOTES_NEUTRALISE) # EXC
|
_, _, _ = G.create_note(evaluation=e1, etud=etud, note=scu.NOTES_NEUTRALISE) # EXC
|
||||||
@ -389,7 +389,7 @@ def test_notes_modules_att_dem(test_client):
|
|||||||
sem["formsemestre_id"],
|
sem["formsemestre_id"],
|
||||||
ue_id,
|
ue_id,
|
||||||
moduleimpl_id,
|
moduleimpl_id,
|
||||||
expected_mod_moy="NA0",
|
expected_mod_moy="NA",
|
||||||
expected_moy_ue=0.0,
|
expected_moy_ue=0.0,
|
||||||
expected_sum_coefs_ue=0.0,
|
expected_sum_coefs_ue=0.0,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user