'Verify enrolled student is redirected to the \'Welcome\' section of
the chapter after clicking on the courseware tab.'

def test_redirection_enrolled(self):

    self.login(self.enrolled_user)
    response = self.client.get(reverse('courseware', kwargs={'course_id': self.course.id.to_deprecated_string()}))
    self.assertRedirects(response, reverse('courseware_section', kwargs={'course_id': self.course.id.to_deprecated_string(), 'chapter': self.overview_chapter.url_name, 'section': self.welcome_section.url_name}))
