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_validation.py   eliot(Download)
        message = {"message_type": "mymessage",
                   "length": "thething"}
        serializer.serialize(message)
        self.assertEqual(message, {"message_type": "mymessage",
                                   "length": 8})
                   "length": "thething",
                   "extra": 123}
        serializer.serialize(message)
        self.assertEqual(message, {"message_type": "mymessage",
                                   "length": 8,