'Test the rendering of the Studio author view'

def test_render_studio_view(self):

    context = {'is_unit_page': True}
    html = self.module_system.render(self.vertical, AUTHOR_VIEW, context).content
    self.assertNotIn(self.test_html_1, html)
    self.assertNotIn(self.test_html_2, html)
    reorderable_items = set()
    context = {'is_unit_page': False, 'reorderable_items': reorderable_items}
    html = self.module_system.render(self.vertical, AUTHOR_VIEW, context).content
    self.assertIn(self.test_html_1, html)
    self.assertIn(self.test_html_2, html)
