Module Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num decorator_list Assign AttributeStore NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list
N/A N/A steel N/A unittest ObjectTests N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A B N/A N/A steel Structure N/A N/A field1 N/A N/A steel Bytes size 3 N/A field2 N/A N/A steel Bytes size 3 N/A N/A N/A self B B A N/A N/A steel Structure N/A N/A field1 N/A N/A steel Integer size 1 N/A field2 N/A N/A steel Object B N/A N/A N/A self A A N/A test_size N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self B size 6 N/A N/A N/A self assertEqual N/A N/A self A size 7 N/A test_encode N/A N/A self N/A N/A N/A field N/A N/A steel Object N/A self B N/A value N/A N/A self B field1 abc field2 def N/A value N/A N/A field encode value N/A N/A N/A self assertEqual value abcdef N/A test_decode N/A N/A self N/A N/A N/A field N/A N/A steel Object N/A self B N/A value N/A N/A field decode abcdef N/A N/A N/A self assertIsInstance value N/A self B N/A N/A N/A self assertEqual N/A value field1 abc N/A N/A N/A self assertEqual N/A value field2 def N/A N/A ListTests N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self field N/A N/A steel List N/A N/A steel Integer size 1 size 4 N/A test_encode N/A N/A self N/A N/A N/A value N/A N/A N/A self field encode N/A 1 2 3 4 N/A N/A N/A self assertEqual value N/A test_decode N/A N/A self N/A N/A N/A value N/A N/A N/A self field decode N/A N/A N/A self assertEqual value N/A 1 2 3 4 N/A test_encode_too_few N/A N/A self N/A N/A N/A N/A N/A self assertRaises ValueError N/A N/A N/A N/A N/A self field encode N/A 1 2 3 N/A test_encode_too_many N/A N/A self N/A N/A N/A N/A N/A self assertRaises ValueError N/A N/A N/A N/A N/A self field encode N/A 1 2 3 4 5 6 7 N/A test_encode_defaults N/A N/A self N/A N/A N/A field N/A N/A steel List N/A N/A steel Integer size 1 default 0 size 4 N/A value N/A N/A field encode N/A 1 2 3 N/A N/A N/A self assertEqual value N/A N/A