def test_grader_is_working(self): test = Test().create() test.set_answers( [question.correct_answer for question in test.questions]) test.check_test() self.assertEqual(test.count_correct(), 100.0)