Home
last modified time | relevance | path

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

/third_party/python/Lib/idlelib/idle_test/
Dtest_browser.py163 fopen.assert_called()
215 fopen.assert_called()
216 goto.assert_called()
Dtest_colorizer.py362 mock_recmain.assert_called()
372 mock_recmain.assert_called()
Dtest_codecontext.py354 mock_update.assert_called()
/third_party/python/Lib/unittest/test/testmock/
Dtestasync.py750 mock.async_method.assert_called()
761 mock.async_method.assert_called()
779 self.mock.assert_called()
794 mock.async_method.assert_called()
813 self.mock.assert_called()
821 self.mock.assert_called()
Dtestmock.py430 Mock().assert_called()
432 Mock(name="test_name").assert_called()
1665 m.hello.assert_called()
1667 m.hello.assert_called()
1670 m.hello.assert_called()
Dtestpatch.py960 self.assertRaises(AssertionError, function.assert_called)
965 function.assert_called()
/third_party/python/Lib/unittest/
Dmock.py205 def assert_called(*args, **kwargs): function
206 return mock.assert_called(*args, **kwargs)
241 funcopy.assert_called = assert_called
882 def assert_called(self): member in NonCallableMock
/third_party/python/Misc/NEWS.d/
D3.6.0b2.rst267 unittest.mock Mock autospec functions now properly support assert_called,
D3.6.0a1.rst1611 Add Mock.assert_called() and Mock.assert_called_once() methods to
D3.9.0a1.rst1602 Fix default mock name in :meth:`unittest.mock.Mock.assert_called`
D3.7.0a1.rst4259 unittest.mock Mock autospec functions now properly support assert_called,
/third_party/python/Doc/library/
Dunittest.mock.rst290 .. method:: assert_called()
297 >>> mock.method.assert_called()
2400 'assert_called',
/third_party/python/Lib/test/
Dtest_httplib.py2074 mock_send.assert_called()
Dtest_codecs.py1743 file().close.assert_called()
/third_party/python/Doc/whatsnew/
D3.6.rst1656 * Two new methods, :meth:`Mock.assert_called()
1657 <unittest.mock.Mock.assert_called>` and :meth:`Mock.assert_called_once()