Home
last modified time | relevance | path

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

/external/autotest/client/common_lib/cros/
Dstring_utils_unittest.py37 sep.join.assert_called_once()
/external/python/mock/
DNEWS4 - Issue #26323: Add Mock.assert_called() and Mock.assert_called_once()
/external/python/cpython3/Lib/unittest/
Dmock.py192 def assert_called_once(*args, **kwargs): function
193 return mock.assert_called_once(*args, **kwargs)
226 funcopy.assert_called_once = assert_called_once
803 def assert_called_once(_mock_self): member in NonCallableMock
/external/python/mock/mock/tests/
Dtestmock.py1302 m.hello.assert_called_once()
1304 m.hello.assert_called_once()
1308 m.hello.assert_called_once()
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestmock.py1439 m.hello.assert_called_once()
1441 m.hello.assert_called_once()
1445 m.hello.assert_called_once()
Dtestpatch.py992 self.assertRaises(AssertionError, function.assert_called_once)
997 function.assert_called_once()
/external/python/cpython3/Misc/NEWS.d/
D3.6.0b2.rst268 assert_not_called, and assert_called_once.
D3.6.0a1.rst1612 Add Mock.assert_called() and Mock.assert_called_once() methods to
D3.7.0a1.rst4265 assert_not_called, and assert_called_once.
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_configdialog.py1362 cb.assert_called_once()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_tasks.py2457 exc_handler.assert_called_once()
2483 exc_handler.assert_called_once()
/external/python/cpython3/Doc/library/
Dunittest.mock.rst276 .. method:: assert_called_once(*args, **kwargs)
283 >>> mock.method.assert_called_once()
286 >>> mock.method.assert_called_once()
/external/python/mock/mock/
Dmock.py908 def assert_called_once(_mock_self): member in NonCallableMock
/external/python/cpython3/Lib/test/
Dtest_builtin.py1540 mock.assert_called_once()
/external/python/cpython3/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