'Asserts that a well formed postback of survey answers is properly stored in the
database'

def test_survey_postback(self):

    resp = self.client.post(self.postback_url, self.student_answers)
    self.assertEquals(resp.status_code, 200)
    data = json.loads(resp.content)
    self.assertIn('redirect_url', data)
    answers = self.survey.get_answers(self.student)
    self.assertEquals(answers[self.student.id], self.student_answers)
