'Test the rendering of the student view.'

@ddt.unpack
@ddt.data({'context': None}, {'context': {}})
def test_render_student_view(self, context):

    self.module_system._services['bookmarks'] = Mock()
    self.module_system._services['user'] = StubUserService()
    html = self.module_system.render(self.vertical, STUDENT_VIEW, (self.default_context if (context is None) else context)).content
    self.assertIn(self.test_html_1, html)
    self.assertIn(self.test_html_2, html)
    self.assert_bookmark_info_in(html)
