Home
last modified time | relevance | path

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

/external/autotest/server/cros/network/rf_switch/
Drf_mocks.py18 class SocketMock(mock.mock_class):
22 mock.mock_class.__init__(self, cls, name, *args, **kwargs)
/external/autotest/client/common_lib/test_utils/
Dmock.py244 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/
Dtestmock.py1421 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/
Dunittest.mock.rst1416 ... def function(normal_argument, mock_class):
1417 ... print(mock_class is SomeClass)