'Tests that a locked or unlocked vertical with no locked ancestors does not have an inherited lock'

def test_no_inheritance(self):

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