Searched refs:NonCallableMagicMock (Results 1 – 12 of 12) sorted by relevance
/external/python/mock/mock/tests/ |
D | testcallable.py | 9 Mock, MagicMock, NonCallableMagicMock, 19 self.assertTrue(is_instance(mock, NonCallableMagicMock)) 24 for mock in NonCallableMagicMock(), NonCallableMock(): 32 self.assertTrue(issubclass(NonCallableMagicMock, NonCallableMock)) 39 two = NonCallableMagicMock()
|
D | testmock.py | 17 NonCallableMagicMock, 975 NonCallableMagicMock() 1336 Mock, MagicMock, NonCallableMock, NonCallableMagicMock 1381 for Klass in MagicMock, NonCallableMagicMock: 1398 for Klass in NonCallableMock, Mock, MagicMock, NonCallableMagicMock: 1520 classes = Mock, MagicMock, NonCallableMagicMock, NonCallableMock 1537 classes = Mock, MagicMock, NonCallableMagicMock, NonCallableMock 1553 for mock in (Mock(), MagicMock(), NonCallableMagicMock(), 1576 for Klass in (MagicMock, Mock, Subclass, NonCallableMagicMock):
|
D | testpatch.py | 16 MagicMock, Mock, NonCallableMagicMock, patch, 90 MockClass = NonCallableMagicMock 1060 patcher = patch(foo_name, new_callable=NonCallableMagicMock) 1073 patcher = patch.object(Foo, 'f', new_callable=NonCallableMagicMock) 1161 NonCallableMock, NonCallableMagicMock, MagicMock, Mock, MockSub
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testcallable.py | 9 Mock, MagicMock, NonCallableMagicMock, 19 self.assertTrue(is_instance(mock, NonCallableMagicMock)) 24 for mock in NonCallableMagicMock(), NonCallableMock(): 32 self.assertTrue(issubclass(NonCallableMagicMock, NonCallableMock)) 39 two = NonCallableMagicMock()
|
D | testmock.py | 11 NonCallableMagicMock, _Call, _CallList, 1114 NonCallableMagicMock() 1491 Mock, MagicMock, NonCallableMock, NonCallableMagicMock 1536 for Klass in MagicMock, NonCallableMagicMock: 1553 for Klass in NonCallableMock, Mock, MagicMock, NonCallableMagicMock: 1697 classes = Mock, MagicMock, NonCallableMagicMock, NonCallableMock 1714 classes = Mock, MagicMock, NonCallableMagicMock, NonCallableMock 1730 for mock in (Mock(), MagicMock(), NonCallableMagicMock(), 1744 for mock in (Mock(), MagicMock(), NonCallableMagicMock(), 1762 for mock in (Mock(), MagicMock(), NonCallableMagicMock(),
|
D | testpatch.py | 15 MagicMock, Mock, NonCallableMagicMock, patch, _patch, 86 MockClass = NonCallableMagicMock 1079 patcher = patch(foo_name, new_callable=NonCallableMagicMock) 1092 patcher = patch.object(Foo, 'f', new_callable=NonCallableMagicMock) 1180 NonCallableMock, NonCallableMagicMock, MagicMock, Mock, MockSub
|
/external/pdfium/third_party/pymock/ |
D | mock.py | 905 if issubclass(_type, NonCallableMagicMock): 1305 Klass = NonCallableMagicMock 1328 Klass = NonCallableMagicMock 1877 class NonCallableMagicMock(MagicMixin, NonCallableMock): class 2176 Klass = NonCallableMagicMock 2178 Klass = NonCallableMagicMock
|
/external/python/cpython2/Lib/test/ |
D | _mock_backport.py | 860 if issubclass(_type, NonCallableMagicMock): 1251 Klass = NonCallableMagicMock 1274 Klass = NonCallableMagicMock 1816 class NonCallableMagicMock(MagicMixin, NonCallableMock): class 2128 Klass = NonCallableMagicMock 2130 Klass = NonCallableMagicMock
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_squeezer.py | 7 from unittest.mock import Mock, NonCallableMagicMock, patch, sentinel, ANY 93 editwin = NonCallableMagicMock()
|
/external/python/cpython3/Lib/unittest/ |
D | mock.py | 904 if issubclass(_type, NonCallableMagicMock): 1305 Klass = NonCallableMagicMock 1328 Klass = NonCallableMagicMock 1882 class NonCallableMagicMock(MagicMixin, NonCallableMock): class 2192 Klass = NonCallableMagicMock 2194 Klass = NonCallableMagicMock
|
/external/python/mock/mock/ |
D | mock.py | 1012 if issubclass(_type, NonCallableMagicMock): 1406 Klass = NonCallableMagicMock 1429 Klass = NonCallableMagicMock 1990 class NonCallableMagicMock(MagicMixin, NonCallableMock): class 2308 Klass = NonCallableMagicMock 2310 Klass = NonCallableMagicMock
|
/external/python/cpython3/Doc/library/ |
D | unittest.mock.rst | 196 :class:`NonCallableMock` and :class:`NonCallableMagicMock` 1727 There are two ``MagicMock`` variants: :class:`MagicMock` and :class:`NonCallableMagicMock`. 1742 .. class:: NonCallableMagicMock(*args, **kw) 2280 <NonCallableMagicMock name='request.Request()' spec='Request' id='...'> 2304 <NonCallableMagicMock name='mock.Request()' spec='Request' id='...'> 2399 <NonCallableMagicMock name='Something.a' spec='int' id='...'>
|