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)
247 mock.await_count = 02122 await_count = _delegating_property('await_count') variable in AsyncMockMixin2147 self.await_count += 12186 if self.await_count == 0:2194 if not self.await_count == 1:2222 if not self.await_count == 1:2289 if self.await_count != 0:2299 self.await_count = 0
1044 See :func:`Mock.reset_mock`. Also sets :attr:`await_count` to 0,1047 .. attribute:: await_count1056 >>> mock.await_count1059 >>> mock.await_count