(self, *types)
| 2435 | assert False, "actual events %s did not match any of the expected sequences: %s" % (events, sequences) |
| 2436 | |
| 2437 | def expect_until(self, *types): |
| 2438 | events = self.drain() |
| 2439 | etypes = tuple([e.type for e in events[-len(types):]]) |
| 2440 | assert etypes == types, "actual events %s did not end in expect sequence: %s" % (events, types) |
| 2441 | |
| 2442 | |
| 2443 | class EventTest(CollectorTest): |