Searched refs:assert_called (Results 1 – 15 of 15) sorted by relevance
163 fopen.assert_called()215 fopen.assert_called()216 goto.assert_called()
362 mock_recmain.assert_called()372 mock_recmain.assert_called()
354 mock_update.assert_called()
750 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()
430 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()
960 self.assertRaises(AssertionError, function.assert_called)965 function.assert_called()
205 def assert_called(*args, **kwargs): function206 return mock.assert_called(*args, **kwargs)241 funcopy.assert_called = assert_called882 def assert_called(self): member in NonCallableMock
267 unittest.mock Mock autospec functions now properly support assert_called,
1611 Add Mock.assert_called() and Mock.assert_called_once() methods to
1602 Fix default mock name in :meth:`unittest.mock.Mock.assert_called`
4259 unittest.mock Mock autospec functions now properly support assert_called,
290 .. method:: assert_called()297 >>> mock.method.assert_called()2400 'assert_called',
2074 mock_send.assert_called()
1743 file().close.assert_called()
1656 * Two new methods, :meth:`Mock.assert_called()1657 <unittest.mock.Mock.assert_called>` and :meth:`Mock.assert_called_once()