Start using start dates for exams
This commit is contained in:
@@ -342,7 +342,7 @@ class ExamTester:
|
||||
.find("li", attrs={"data-exam-id": self.exam.pk})
|
||||
)
|
||||
assert search_exam
|
||||
assert self.exam.name in str(search_exam)
|
||||
assert str(self.exam) in str(search_exam)
|
||||
assert len(search_exam.find("button", {"class": "start-button"})) > 0
|
||||
# assert "Active" in assigned_exams # check it is active
|
||||
|
||||
@@ -358,8 +358,8 @@ class ExamTester:
|
||||
.find_all("li", attrs={"data-exam-id": self.exam.pk})
|
||||
)
|
||||
assert results_exam
|
||||
assert self.exam.name in str(results_exam)
|
||||
assert self.exam.name + " test" not in str(results_exam)
|
||||
assert str(self.exam) in str(results_exam)
|
||||
assert str(self.exam) + " test" not in str(results_exam)
|
||||
assert "Results Published" not in str(
|
||||
results_exam
|
||||
) # It should not be published yet
|
||||
|
||||
Reference in New Issue
Block a user