(self, *types)
| 2272 | assert False, "actual events %s did not match any of the expected sequences: %s" % (events, sequences) |
| 2273 | |
| 2274 | def expect_until(self, *types): |
| 2275 | events = self.drain() |
| 2276 | etypes = tuple([e.type for e in events[-len(types):]]) |
| 2277 | assert etypes == types, "actual events %s did not end in expect sequence: %s" % (events, types) |
| 2278 | |
| 2279 | class EventTest(CollectorTest): |
| 2280 |