Home
last modified time | relevance | path

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

/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/
DNEWS26 like configure_mock(). Patch by Kasia Jachim.
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestmagicmethods.py463 m.configure_mock(**{'__str__.return_value': "14"})
Dtestmock.py888 mock.configure_mock(**kwargs)
/external/python/mock/mock/tests/
Dtestmagicmethods.py528 m.configure_mock(**{'__str__.return_value': "14"})
Dtestmock.py800 mock.configure_mock(**kwargs)
/external/pdfium/third_party/pymock/
Dmock.py510 self.configure_mock(**kwargs)
631 def configure_mock(self, **kwargs): member in NonCallableMock
/external/python/cpython2/Lib/test/
D_mock_backport.py416 self.configure_mock(**kwargs)
547 def configure_mock(self, **kwargs): member in NonCallableMock
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a4.rst556 configure_mock(). Patch by Kasia Jachim.
/external/python/cpython3/Doc/library/
Dunittest.mock.rst263 :meth:`configure_mock` method for details.
414 .. method:: configure_mock(**kwargs)
424 >>> mock.configure_mock(**attrs)
445 :meth:`configure_mock` exists to make it easier to do configuration
970 :meth:`~Mock.configure_mock`::
973 >>> mock.configure_mock(name='my_name')
Dunittest.mock-examples.rst496 We can do that in a slightly nicer way using the :meth:`~Mock.configure_mock`
503 >>> mock_backend.configure_mock(**config)
/external/python/cpython3/Lib/unittest/
Dmock.py420 self.configure_mock(**kwargs)
563 def configure_mock(self, **kwargs): member in NonCallableMock
/external/python/mock/mock/
Dmock.py533 self.configure_mock(**kwargs)
671 def configure_mock(self, **kwargs): member in NonCallableMock
/external/python/cpython3/Misc/
DHISTORY723 like configure_mock(). Patch by Kasia Jachim.