Searched refs:await_count (Results 1 – 3 of 3) sorted by relevance
212 self.assertEqual(spec.await_count, 0)221 self.assertEqual(spec.await_count, 1)245 self.assertEqual(mock_method.await_count, 0)252 self.assertEqual(mock_method.await_count, 1)261 self.assertEqual(mock_method.await_count, 0)
251 mock.await_count = 02170 await_count = _delegating_property('await_count') variable in AsyncMockMixin2195 self.await_count += 12234 if self.await_count == 0:2242 if not self.await_count == 1:2270 if not self.await_count == 1:2337 if self.await_count != 0:2347 self.await_count = 0
1045 See :func:`Mock.reset_mock`. Also sets :attr:`await_count` to 0,1048 .. attribute:: await_count1057 >>> mock.await_count1060 >>> mock.await_count