'Verifies that child_item\'s explicit staff lock remains after removing parent_item\'s staff lock'

def _verify_explicit_staff_lock_remains_after_unlocking_parent(self, child_item, parent_item):

    child_item.set_staff_lock(True)
    parent_item.set_staff_lock(True)
    self.assertTrue(parent_item.has_staff_lock_warning)
    self.assertTrue(child_item.has_staff_lock_warning)
    parent_item.set_staff_lock(False)
    self.assertFalse(parent_item.has_staff_lock_warning)
    self.assertTrue(child_item.has_staff_lock_warning)
