'Courses that change \'course_edit_method\' setting can hide \'View in Studio\' links.'

def test_view_in_studio_link_xml_authored(self):

    self.setup_mongo_course(course_edit_method='XML')
    result_fragment = self.module.render(STUDENT_VIEW, context=self.default_context)
    self.assertNotIn('View    Unit    in    Studio', result_fragment.content)
