'Tests that a locked or unlocked vertical in a locked section has an inherited lock'

def test_inheritance_in_locked_section(self):

    self._update_staff_locks(True, False, False)
    self.assertTrue(utils.ancestor_has_staff_lock(self.vertical))
    self._update_staff_locks(True, False, True)
    self.assertTrue(utils.ancestor_has_staff_lock(self.vertical))
