Home
last modified time | relevance | path

Searched refs:configure_mock (Results 1 – 18 of 18) sorted by relevance

/external/autotest/client/cros/faft/utils/
Dshell_wrapper_unittest.py19 mock_process.configure_mock(**attrs)
35 mock_process.configure_mock(**attrs)
48 mock_process.configure_mock(**attrs)
Dsaft_flashrom_util_unittest.py32 bad_flashrom.configure_mock(**attrs)
48 good_flashrom.configure_mock(**attrs)
Dflashrom_handler_unittest.py27 self.good_flashrom.configure_mock(**attrs)
35 self.bad_flashrom.configure_mock(**attrs)
/external/chromium-trace/catapult/devil/devil/android/tools/
Dsystem_app_test.py84 mock_device.RunShellCommand.configure_mock(
97 mock_device.RunShellCommand.configure_mock(
110 mock_device.RunShellCommand.configure_mock(return_value=[])
122 mock_device.RunShellCommand.configure_mock(
/external/tensorflow/tensorflow/python/distribute/cluster_resolver/
Dkubernetes_cluster_resolver_test.py37 mock_status.configure_mock(phase=phase, host_ip=host_ip)
40 mock_metadata.configure_mock(name=name)
43 mock_item.configure_mock(status=mock_status, metadata=mock_metadata)
/external/python/mock/
DCHANGELOG.rst153 like configure_mock(). Patch by Kasia Jachim.
/external/python/mock/mock/tests/
Dtestmagicmethods.py548 m.configure_mock(**{'__str__.return_value': "14"})
Dtestmock.py980 mock.configure_mock(**kwargs)
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestmagicmethods.py504 m.configure_mock(**{'__str__.return_value': "14"})
Dtestmock.py987 mock.configure_mock(**kwargs)
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a4.rst556 configure_mock(). Patch by Kasia Jachim.
/external/python/cpython2/Lib/test/
D_mock_backport.py416 self.configure_mock(**kwargs)
547 def configure_mock(self, **kwargs): member in NonCallableMock
/external/pdfium/third_party/pymock/
Dmock.py510 self.configure_mock(**kwargs)
631 def configure_mock(self, **kwargs): member in NonCallableMock
/external/python/mock/mock/
Dmock.py525 self.configure_mock(**kwargs)
668 def configure_mock(self, **kwargs): member in NonCallableMock
/external/python/cpython3/Doc/library/
Dunittest.mock.rst287 :meth:`configure_mock` method for details.
438 .. method:: configure_mock(**kwargs)
448 >>> mock.configure_mock(**attrs)
469 :meth:`configure_mock` exists to make it easier to do configuration
1248 :meth:`~Mock.configure_mock`::
1251 >>> mock.configure_mock(name='my_name')
Dunittest.mock-examples.rst551 We can do that in a slightly nicer way using the :meth:`~Mock.configure_mock`
558 >>> mock_backend.configure_mock(**config)
/external/python/cpython3/Lib/unittest/
Dmock.py453 self.configure_mock(**kwargs)
603 def configure_mock(self, /, **kwargs): member in NonCallableMock
/external/python/cpython3/Misc/
DHISTORY723 like configure_mock(). Patch by Kasia Jachim.