'Make sure the update case works'

def test_update_answers(self):

    survey = self._create_test_survey()
    self.assertIsNotNone(survey)
    survey.save_user_answers(self.student, self.student_answers, self.course_id)
    answers = survey.get_answers(self.student)
    self.assertEquals(len(answers.keys()), 1)
    self.assertIn(self.student.id, answers)
    self.assertEquals(answers[self.student.id], self.student_answers)
    survey.save_user_answers(self.student, self.student_answers_update, self.course_id)
    answers = survey.get_answers(self.student)
    self.assertEquals(len(answers.keys()), 1)
    self.assertIn(self.student.id, answers)
    self.assertEquals(answers[self.student.id], self.student_answers_update)
    survey.save_user_answers(self.student, self.student_answers_update2, self.course_id)
    answers = survey.get_answers(self.student)
    self.assertEquals(len(answers.keys()), 1)
    self.assertIn(self.student.id, answers)
    self.assertEquals(answers[self.student.id], self.student_answers_update2)
