'Tests to make sure variables passed in truly exist within the html once it is all rendered.'

def test_student_view(self):

    context = self.mod.student_view({}).content
    for key in ['display_name', 'instructions_html', 'sourceUrl', 'typeSource', 'poster', 'annotation_storage', 'default_tab', 'instructor_email', 'annotation_mode', 'is_course_staff']:
        self.assertIn(key, context)
