• Home
  • Raw
  • Download

Lines Matching refs:__dict__

168         if base.__dict__.get('__call__') is not None:
332 self.__dict__[_the_name] = value
428 __dict__ = self.__dict__
429 __dict__['_mock_parent'] = parent
430 __dict__['_mock_name'] = name
431 __dict__['_mock_new_name'] = _new_name
432 __dict__['_mock_new_parent'] = _new_parent
433 __dict__['_mock_sealed'] = False
443 __dict__['_mock_children'] = {}
444 __dict__['_mock_wraps'] = wraps
445 __dict__['_mock_delegate'] = None
447 __dict__['_mock_called'] = False
448 __dict__['_mock_call_args'] = None
449 __dict__['_mock_call_count'] = 0
450 __dict__['_mock_call_args_list'] = _CallList()
451 __dict__['_mock_mock_calls'] = _CallList()
453 __dict__['method_calls'] = _CallList()
454 __dict__['_mock_unsafe'] = unsafe
510 __dict__ = self.__dict__
511 __dict__['_spec_class'] = _spec_class
512 __dict__['_spec_set'] = spec_set
513 __dict__['_spec_signature'] = _spec_signature
514 __dict__['_mock_methods'] = spec
515 __dict__['_spec_asyncs'] = _spec_asyncs
666 target_name = self.__dict__['_mock_name'] or self
731 from_dict = list(self.__dict__)
748 name not in self.__dict__):
782 if name in _all_magics and name in type(self).__dict__:
784 if name not in self.__dict__:
790 if name in self.__dict__:
1004 if _new_name in self.__dict__['_spec_asyncs']:
1085 self.__dict__['_mock_return_value'] = return_value
1400 original = target.__dict__[name]
2098 if entry in type(self).__dict__:
2103 these_magics = these_magics - set(type(self).__dict__)
2182 self.__dict__['_is_coroutine'] = asyncio.coroutines._is_coroutine
2183 self.__dict__['_mock_await_count'] = 0
2184 self.__dict__['_mock_await_args'] = None
2185 self.__dict__['_mock_await_args_list'] = _CallList()
2188 self.__dict__['__code__'] = code_mock
2559 if attr in tuple.__dict__:
2769 result = klass.__dict__.get(entry, DEFAULT)
2943 self.__dict__['__code__'] = code_mock