'Test additional answers are graded correct with their associated correcthint.'

def test_additional_answer_grading(self):

    primary_answer = '100'
    primary_correcthint = 'primary    feedback'
    additional_answers = {'1': '1.    additional    feedback', '2': '2.    additional    feedback', '4': '4.    additional    feedback', '5': ''}
    problem = self.build_problem(answer=primary_answer, additional_answers=additional_answers, correcthint=primary_correcthint)
    correct_map = problem.grade_answers({'1_2_1': primary_answer})
    self.assertEqual(correct_map.get_correctness('1_2_1'), 'correct')
    self.assertIn(primary_correcthint, correct_map.get_msg('1_2_1'))
    for (answer, correcthint) in additional_answers.items():
        correct_map = problem.grade_answers({'1_2_1': answer})
        self.assertEqual(correct_map.get_correctness('1_2_1'), 'correct')
        self.assertIn(correcthint, correct_map.get_msg('1_2_1'))
