Further basic integration testing

This commit is contained in:
Ross
2022-12-12 12:16:42 +00:00
parent a467f24e10
commit 73ebc838cd
9 changed files with 910 additions and 36 deletions
@@ -283,7 +283,7 @@ def test_exams(db, client):
assert answer["ans"] in str(li) # Check that the saved answer is shown
assert li.find("span", {"class": "correct-answer"}).string == "*****" # and that the correct answer isn't
assert not li.find("span", {"class": "correct-answer"}) # and that the correct answer isn't
assert cid_exam_scores_soup.find("div", {"class": "score-overview"}) is None # check we hide the score overview if not published