Home | History | Annotate | Download | only in unittest

Lines Matching refs:_trace

57       self._trace = parent_mock._trace # pylint: disable=W0212
59 self._trace = MockTrace()
62 if (not hasattr(self, '_trace') or
73 assert self._trace.next_call_index == 0
78 self._trace.expected_calls.append(call)
86 if self._trace.next_call_index >= len(self._trace.expected_calls):
90 expected_call = self._trace.expected_calls[
91 self._trace.next_call_index]
93 self._trace.next_call_index += 1