Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/e/l/eliot-0.3.0/eliot/tests/test_testing.py   eliot(Download)
            pass
        # index 6 - end action
        logged = LoggedAction.ofType(logger.messages, ACTION)
        self.assertEqual(logged, [self.fromMessagesIndex(logger.messages, 1),
                                  self.fromMessagesIndex(logger.messages, 5)])
        # index 5 - end action
 
        loggedAction = LoggedAction.ofType(logger.messages, ACTION)[0]
        self.assertEqual(list(loggedAction.descendants()),
                         [self.fromMessagesIndex(logger.messages, 1),