Further basic integration testing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user