'Test preview view rendering'

def test_preview_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, {'root_xblock': self.lc_block})
    self.assertIn('Hello    world    from    block    1', rendered.content)
