'Test author view rendering'

def test_author_view(self):

    self.lc_block.refresh_children()
    self.lc_block = self.store.get_item(self.lc_block.location)
    self.assertEqual(len(self.lc_block.children), len(self.lib_blocks))
    self._bind_course_module(self.lc_block)
    rendered = self.lc_block.render(AUTHOR_VIEW, {})
    self.assertEqual('', rendered.content)
    self.assertEqual('LibraryContentAuthorView', rendered.js_init_fn)
