Lines Matching refs:_parent
378 _parent = parent
379 while _parent is not None:
382 if _parent is value:
384 _parent = _parent._mock_new_parent
698 _parent = self._mock_new_parent
705 while _parent is not None:
706 last = _parent
708 _name_list.append(_parent._mock_new_name + dot)
710 if _parent._mock_new_name == '()':
713 _parent = _parent._mock_new_parent
2652 def create_autospec(spec, spec_set=False, instance=False, _parent=None,
2716 if _parent is None:
2720 mock = Klass(parent=_parent, _new_parent=_parent, _new_name=_new_name,
2732 if _parent is not None and not instance:
2733 _parent._mock_children[_name] = mock
2737 _name='()', _parent=mock)