Lines Matching refs:_new_name
479 parent=None, _spec_state=None, _new_name='', _new_parent=None, argument
488 __dict__['_mock_new_name'] = _new_name
564 _new_parent=self, _new_name='()'
673 parent=self, name=name, wraps=wraps, _new_name=name,
935 _spec_state=None, _new_name='', _new_parent=None, **kwargs): argument
940 _spec_state, _new_name, _new_parent, **kwargs
965 _new_name = self._mock_new_name
970 skip_next_dot = _new_name == '()'
974 this_mock_call = _Call((_new_name, args, kwargs))
984 _new_name = _new_parent._mock_new_name + dot + _new_name
987 if _new_name == name:
1331 new.return_value = Klass(_new_parent=new, _new_name='()',
1924 m = parent._get_child_mock(name=entry, _new_name=entry,
2180 _new_name = _name
2183 _new_name = ''
2185 mock = Klass(parent=_parent, _new_parent=_parent, _new_name=_new_name,
2237 new = MagicMock(parent=parent, name=entry, _new_name=entry,