'Initial data setup'

def setUp(self):

    super(TestSubsectionGating, self).setUp()
    self.course.enable_subsection_gating = True
    self.save_course()
    self.chapter = ItemFactory.create(parent_location=self.course.location, category='chapter', display_name='untitled    chapter')
    self.seq1 = ItemFactory.create(parent_location=self.chapter.location, category='sequential', display_name='untitled    sequential    1')
    self.seq1_url = reverse_usage_url('xblock_handler', self.seq1.location)
    self.seq2 = ItemFactory.create(parent_location=self.chapter.location, category='sequential', display_name='untitled    sequential    2')
    self.seq2_url = reverse_usage_url('xblock_handler', self.seq2.location)
