Home
last modified time | relevance | path

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

/third_party/python/Lib/idlelib/idle_test/
Dtest_zzdummy.py113 text.undo_block_start.assert_called_once()
114 text.undo_block_stop.assert_called_once()
136 text.undo_block_start.assert_called_once()
137 text.undo_block_stop.assert_called_once()
Dtest_autocomplete.py58 m.hide_window.assert_called_once()
88 mock.complete.assert_called_once()
Dtest_configdialog.py69 apply.assert_called_once()
70 destroy.assert_called_once()
79 deactivate.assert_called_once()
80 save_ext.assert_called_once()
81 activate.assert_called_once()
1527 cb.assert_called_once()
Dtest_format.py468 text.bell.assert_called_once()
/third_party/python/Lib/test/test_asyncio/
Dtest_threads.py53 func.assert_called_once()
Dtest_tasks.py2929 exc_handler.assert_called_once()
2955 exc_handler.assert_called_once()
/third_party/python/Lib/unittest/test/testmock/
Dtestasync.py751 mock.async_method.assert_called_once()
762 mock.async_method.assert_called_once()
769 mock.async_method.assert_called_once()
782 self.mock.assert_called_once()
802 mock.async_method.assert_called_once()
Dtestmock.py1675 m.hello.assert_called_once()
1677 m.hello.assert_called_once()
1681 m.hello.assert_called_once()
1689 m.assert_called_once)
1694 m.assert_called_once()
Dtestmagicmethods.py332 mock.__fspath__.assert_called_once()
Dtestpatch.py961 self.assertRaises(AssertionError, function.assert_called_once)
966 function.assert_called_once()
/third_party/python/Lib/unittest/
Dmock.py209 def assert_called_once(*args, **kwargs): function
210 return mock.assert_called_once(*args, **kwargs)
243 funcopy.assert_called_once = assert_called_once
890 def assert_called_once(self): member in NonCallableMock
/third_party/python/Misc/NEWS.d/
D3.6.0b2.rst268 assert_not_called, and assert_called_once.
D3.6.0a1.rst1611 Add Mock.assert_called() and Mock.assert_called_once() methods to
D3.7.0a1.rst4260 assert_not_called, and assert_called_once.
D3.8.0a1.rst2598 ``assert_not_called``, ``assert_called_once``, or
/third_party/python/Doc/library/
Dunittest.mock.rst301 .. method:: assert_called_once()
308 >>> mock.method.assert_called_once()
311 >>> mock.method.assert_called_once()
2401 'assert_called_once',
/third_party/python/Lib/test/
Dtest_builtin.py1892 mock.assert_called_once()
/third_party/python/Doc/whatsnew/
D3.6.rst1657 <unittest.mock.Mock.assert_called>` and :meth:`Mock.assert_called_once()
1658 <unittest.mock.Mock.assert_called_once>` to check if the mock object