'Tests when there is a video under vertical directly under course'

def test_structure_course_vert_video(self):

    self.login_and_enroll()
    ItemFactory.create(parent=self.vertical_under_course, category='video', display_name=u'test    factory    video    omega    \u03a9')
    course_outline = self.api_response().data
    self.assertEqual(len(course_outline), 1)
    section_url = course_outline[0]['section_url']
    unit_url = course_outline[0]['unit_url']
    self.assertRegexpMatches(section_url, 'courseware/test_factory_vertical_under_course_omega_%CE%A9/$')
    self.assertEqual(section_url, unit_url)
    self._verify_paths(course_outline, [u'test    factory    vertical    under    course    omega    \u03a9'])
