Revision 560ef132 test/hs/Test/Ganeti/OpCodes.hs
b/test/hs/Test/Ganeti/OpCodes.hs | ||
---|---|---|
519 | 519 |
\ op.Validate(True)\n\ |
520 | 520 |
\encoded = [(op.Summary(), op.__getstate__())\n\ |
521 | 521 |
\ for op in decoded]\n\ |
522 |
\print serializer.Dump(encoded)" serialized |
|
522 |
\print serializer.Dump(\ |
|
523 |
\ encoded,\ |
|
524 |
\ private_encoder=serializer.EncodeWithPrivateFields)" |
|
525 |
serialized |
|
523 | 526 |
>>= checkPythonResult |
524 | 527 |
let deserialised = |
525 | 528 |
J.decode py_stdout::J.Result [(String, OpCodes.MetaOpCode)] |
Also available in: Unified diff