Home
last modified time | relevance | path

Searched refs:assert_called (Results 1 – 17 of 17) sorted by relevance

/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_browser.py163 fopen.assert_called()
215 fopen.assert_called()
216 goto.assert_called()
Dtest_colorizer.py338 mock_recmain.assert_called()
348 mock_recmain.assert_called()
Dtest_codecontext.py314 mock_update.assert_called()
Dtest_squeezer.py310 squeezer.load_font.assert_called()
/external/autotest/client/common_lib/cros/
Dgs_cache_client_unittest.py158 self.dev_server.list_suite_controls.assert_called()
164 self.dev_server.list_suite_controls.assert_called()
/external/autotest/server/hosts/
Djetstream_host_unittest.py31 mock_exception_logging.assert_called()
/external/python/mock/
DNEWS4 - Issue #26323: Add Mock.assert_called() and Mock.assert_called_once()
/external/python/cpython3/Lib/unittest/
Dmock.py188 def assert_called(*args, **kwargs): function
189 return mock.assert_called(*args, **kwargs)
224 funcopy.assert_called = assert_called
794 def assert_called(_mock_self): member in NonCallableMock
/external/python/mock/mock/tests/
Dtestmock.py1292 m.hello.assert_called()
1294 m.hello.assert_called()
1297 m.hello.assert_called()
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestmock.py1429 m.hello.assert_called()
1431 m.hello.assert_called()
1434 m.hello.assert_called()
Dtestpatch.py991 self.assertRaises(AssertionError, function.assert_called)
996 function.assert_called()
/external/python/cpython3/Misc/NEWS.d/
D3.6.0b2.rst267 unittest.mock Mock autospec functions now properly support assert_called,
D3.6.0a1.rst1612 Add Mock.assert_called() and Mock.assert_called_once() methods to
D3.7.0a1.rst4264 unittest.mock Mock autospec functions now properly support assert_called,
/external/python/mock/mock/
Dmock.py899 def assert_called(_mock_self): member in NonCallableMock
/external/python/cpython3/Doc/library/
Dunittest.mock.rst265 .. method:: assert_called(*args, **kwargs)
272 >>> mock.method.assert_called()
/external/python/cpython3/Doc/whatsnew/
D3.6.rst1656 * Two new methods, :meth:`Mock.assert_called()
1657 <unittest.mock.Mock.assert_called>` and :meth:`Mock.assert_called_once()