diff --git a/app/templates/scolar/partition_editor.j2 b/app/templates/scolar/partition_editor.j2 index 6fa4f05b..36161631 100644 --- a/app/templates/scolar/partition_editor.j2 +++ b/app/templates/scolar/partition_editor.j2 @@ -188,11 +188,11 @@
Configuration
-
`; diff --git a/tests/api/test_api_partitions.py b/tests/api/test_api_partitions.py index d1138a57..32fc039b 100644 --- a/tests/api/test_api_partitions.py +++ b/tests/api/test_api_partitions.py @@ -120,6 +120,9 @@ def test_formsemestre_partition(api_headers): f"/group/{group['id']}/remove_etudiant/{etud['id']}", headers=headers ) assert repl["group_id"] == group["id"] + # Avec partition (vérifie encodeur JSON) + partitions = GET(f"/formsemestre/{formsemestre_id}/partitions", headers=headers) + assert partitions # Delete partition repl = POST_JSON(f"/partition/{partition_r['id']}/delete", headers=headers) assert repl["OK"] is True