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

def test_inheritance_in_locked_subsection(self):

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