feat: add exam mode URL handling and update user scores template

This commit is contained in:
Ross
2026-07-06 09:29:15 +01:00
parent 5a2baaeab8
commit daebdc1844
4 changed files with 15 additions and 3 deletions
+10 -1
View File
@@ -1 +1,10 @@
User answer compaction should only be available to admin users and on an exam wide basis.
User answer compaction should only be available to admin users and on an exam wide basis.
We need to update tests so that they can handle the new format of answer submission from rts: res = client.post(reverse("global_exam_answers_submit"), data=post_json)
json_res = json.loads(res.content)
assert json_res["success"] == False
> assert json_res["error"] == "Invalid data"
E AssertionError: assert 'user / cid mismatch' == 'Invalid data'
E
E - Invalid data
E + user / cid mismatch