示例#1
0
 def unmatched_events(self):
     return MultipleEventContext(
         list(
             map(lambda e: e.unmatched_events(),
                 self.unmatched_expectations())),
         self._combine_method(),
     )
示例#2
0
 def marked_events(self, default_marked_events=EventMarker.unmatched):
     if self._success:
         default_marked_events = EventMarker.ignored
     return MultipleEventContext(
         list(
             map(lambda e: e.marked_events(default_marked_events), self.expectations)
         ),
         self._combine_method(),
     )
示例#3
0
 def received_events(self):
     return MultipleEventContext(
         list(map(lambda e: e.received_events(), self.expectations)),
         self._combine_method(),
     )