def test_answer_grade_retuns_1_when_correct(): """ Assumption: when an answer is correct it should return 1 else 0 :return: """ question = QuestionBuilder.create_question() answer = Answer(question, question._correct_choice) assert answer.grade() == Decimal(1)