Did I find the right examples for you? yes no

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

src/e/l/eliot-0.3.0/eliot/tests/test_action.py   eliot(Download)
        logger = MemoryLogger()
        action = Action(logger, "unique", "/", "sys:thename")
        action._start({"key": "value"})
        assertContainsFields(self, logger.messages[0],
                             {"task_uuid": "unique",
        logger = Logger()
        action = Action(logger, "unique", "/", "sys:thename", serializers)
        action._start({"key": "value"})
        self.assertIs(logger[0], serializers.start)
 
        logger = MemoryLogger()
        action = Action(logger, "unique", "/", "sys:thename")
        action._start({"key": "value"})
        action._finish()
        self.assertNotIn("key", logger.messages[1])