'Scenario: Only some subsections in section are explicitly locked, section should NOT display staff only warning
Given I have a course with one section and two subsections
When I enable explicit staff lock on one subsection
Then the section does not show a staff lock warning'

def test_section_does_not_display_lock_when_some_subsections_locked(self):

    self.course_outline_page.visit()
    section = self.course_outline_page.section_at(0)
    section.subsection_at(0).set_staff_lock(True)
    self.assertFalse(section.has_staff_lock_warning)
