Lines Matching refs:match_fns
60 def emits(self, *match_fns, at_least_times=1, timeout=DEFAULT_TIMEOUT): argument
61 if len(match_fns) == 0:
63 elif len(match_fns) == 1:
64 …NOT_FOR_YOU_assert_event_occurs(self._value, match_fns[0], at_least_times=at_least_times, timeout=…
67 return MultiMatchStreamSubject(self._value, match_fns, timeout)
69 def emitsNone(self, *match_fns, timeout=DEFAULT_TIMEOUT): argument
70 if len(match_fns) == 0:
73 elif len(match_fns) == 1:
74 NOT_FOR_YOU_assert_none_matching(self._value, match_fns[0], timeout=timeout)
82 def __init__(self, stream, match_fns, timeout): argument
84 self._match_fns = match_fns
101 def then(self, *match_fns, at_least_times=1, timeout=DEFAULT_TIMEOUT): argument
102 if len(match_fns) == 0:
104 elif len(match_fns) == 1:
105 …NOT_FOR_YOU_assert_event_occurs(self._value, match_fns[0], at_least_times=at_least_times, timeout=…
108 return MultiMatchStreamSubject(self._value, match_fns, timeout)
110 def thenNone(self, *match_fns, timeout=DEFAULT_TIMEOUT): argument
111 if len(match_fns) == 0:
114 elif len(match_fns) == 1:
115 NOT_FOR_YOU_assert_none_matching(self._value, match_fns[0], timeout=timeout)