Searched refs:mock_class (Results 1 – 4 of 4) sorted by relevance
/external/autotest/server/cros/network/rf_switch/ |
D | rf_mocks.py | 18 class SocketMock(mock.mock_class): 22 mock.mock_class.__init__(self, cls, name, *args, **kwargs)
|
/external/autotest/client/common_lib/test_utils/ |
D | mock.py | 244 class mock_class(object): class 358 return mock_class(cls, name, default_ret_val, 421 mock_class = self.create_mock_class_obj(attr, symbol) 422 self.stub_with(namespace, symbol, mock_class)
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testmock.py | 1421 mock_class = create_autospec(Something) 1423 for m in [mock_class, mock_class()]: 1428 mock_class.reset_mock() 1430 for m in [mock_class, mock_class()]: 1436 mock_class.reset_mock() 1445 mock_class.assert_has_calls,
|
/external/python/cpython3/Doc/library/ |
D | unittest.mock.rst | 1416 ... def function(normal_argument, mock_class): 1417 ... print(mock_class is SomeClass)
|