'Tests that a section with a staff-locked subsection and a visible subsection is not staff locked itself.'

def test_no_staff_only_section(self):

    chapter = self._create_child(self.course, 'chapter', 'Test    Chapter')
    self._create_child(chapter, 'sequential', 'Test    Visible    Sequential')
    self._create_child(chapter, 'sequential', 'Test    Staff    Locked    Sequential', staff_only=True)
    xblock_info = self._get_xblock_info(chapter.location)
    self._verify_visibility_state(xblock_info, VisibilityState.staff_only, should_equal=False)
    self._verify_visibility_state(xblock_info, VisibilityState.staff_only, path=[0], should_equal=False)
    self._verify_visibility_state(xblock_info, VisibilityState.staff_only, path=[1])
