'Test proper js init function is called.'

def test_js_init(self):

    with mock.patch.object(loader, 'render_template', mock.Mock):
        fragment = self.block.student_view()
    self.assertEqual(fragment.js_init_fn, 'DiscussionInlineBlock')
