'Test that enterprise data sharing consent is required when enabled for the various courseware views.'

def test_consent_required(self):

    course_id = unicode(self.course.id)
    for url in (reverse('courseware', kwargs=dict(course_id=course_id)), reverse('progress', kwargs=dict(course_id=course_id)), reverse('student_progress', kwargs=dict(course_id=course_id, student_id=str(self.user.id)))):
        self.verify_consent_required(self.client, url)
