Home
last modified time | relevance | path

Searched refs:_mock_self (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/unittest/
Dmock.py101 def checksig(_mock_self, *args, **kwargs): argument
785 def assert_not_called(_mock_self): argument
788 self = _mock_self
794 def assert_called(_mock_self): argument
797 self = _mock_self
803 def assert_called_once(_mock_self): argument
806 self = _mock_self
812 def assert_called_with(_mock_self, *args, **kwargs): argument
817 self = _mock_self
832 def assert_called_once_with(_mock_self, *args, **kwargs): argument
[all …]
/external/python/mock/mock/
Dmock.py208 def checksig(_mock_self, *args, **kwargs): argument
890 def assert_not_called(_mock_self): argument
893 self = _mock_self
899 def assert_called(_mock_self): argument
902 self = _mock_self
908 def assert_called_once(_mock_self): argument
911 self = _mock_self
917 def assert_called_with(_mock_self, *args, **kwargs): argument
922 self = _mock_self
940 def assert_called_once_with(_mock_self, *args, **kwargs): argument
[all …]
/external/python/cpython2/Lib/test/
D_mock_backport.py111 def checksig(_mock_self, *args, **kwargs): argument
762 def assert_not_called(_mock_self): argument
765 self = _mock_self
771 def assert_called_with(_mock_self, *args, **kwargs): argument
776 self = _mock_self
790 def assert_called_once_with(_mock_self, *args, **kwargs): argument
793 self = _mock_self
906 def __call__(_mock_self, *args, **kwargs): argument
909 _mock_self._mock_check_sig(*args, **kwargs)
910 return _mock_self._mock_call(*args, **kwargs)
[all …]
/external/pdfium/third_party/pymock/
Dmock.py823 def assert_called_with(_mock_self, *args, **kwargs): argument
828 self = _mock_self
838 def assert_called_once_with(_mock_self, *args, **kwargs): argument
841 self = _mock_self
951 def __call__(_mock_self, *args, **kwargs): argument
954 _mock_self._mock_check_sig(*args, **kwargs)
955 return _mock_self._mock_call(*args, **kwargs)
958 def _mock_call(_mock_self, *args, **kwargs): argument
959 self = _mock_self