Lines Matching refs:_new_name
418 parent=None, _spec_state=None, _new_name='', _new_parent=None, argument
427 __dict__['_mock_new_name'] = _new_name
520 _new_parent=self, _new_name='()'
649 parent=self, name=name, wraps=wraps, _new_name=name,
991 _new_name = kw.get("_new_name")
992 if _new_name in self.__dict__['_spec_asyncs']:
996 if issubclass(_type, MagicMock) and _new_name in _async_method_magics:
1000 if (_new_name in _all_sync_magics or
1001 self._mock_methods and _new_name in self._mock_methods):
1073 _spec_state=None, _new_name='', _new_parent=None, **kwargs): argument
1077 _spec_state, _new_name, _new_parent, **kwargs
1472 new.return_value = Klass(_new_parent=new, _new_name='()',
2111 m = parent._get_child_mock(name=entry, _new_name=entry,
2623 _new_name = _name
2626 _new_name = ''
2628 mock = Klass(parent=_parent, _new_parent=_parent, _new_name=_new_name,
2684 new = child_klass(parent=parent, name=entry, _new_name=entry,