'Tests the function that passes in all the information in the context
that will be used in templates/textannotation.html'

def test_student_view(self):

    context = self.mod.student_view({}).content
    for key in ['display_name', 'tag', 'source', 'instructions_html', 'content_html', 'annotation_storage', 'token', 'diacritic_marks', 'default_tab', 'annotation_mode', 'is_course_staff']:
        self.assertIn(key, context)
