fix a load of test
This commit is contained in:
@@ -340,11 +340,11 @@ class ExamTester:
|
||||
search_exam = (
|
||||
cid_scores_soup.find("div", {"id": "exam-assigned"})
|
||||
.find("ul", {"class": self.exam.app_name.lower()})
|
||||
.find_all("li", attrs={"data-exam-id": self.exam.pk})
|
||||
.find("li", attrs={"data-exam-id": self.exam.pk})
|
||||
)
|
||||
assert search_exam
|
||||
assert self.exam.name in str(search_exam)
|
||||
assert "Active" in str(search_exam)
|
||||
assert len(search_exam.find("button", {"class": "start-button"})) > 0
|
||||
# assert "Active" in assigned_exams # check it is active
|
||||
|
||||
invalid_exam = cid_scores_soup.find_all(
|
||||
|
||||
Reference in New Issue
Block a user