'Parent test suite, test case or keyword.'

@setter
def parent(self, parent):

    if (parent and (parent is not self.parent)):
        self._sort_key = getattr(parent, '_child_sort_key', (-1))
    return parent
