#NEWLINE# def test_list_struct( ) : #NEWLINE# #INDENT# l_item = container . ListItem ( ) #NEWLINE# l_item . list_string = ( [ 'foo' , 'bar' ] * 100 ) #NEWLINE# l_item . list_list_string = ( [ [ 'foo' , 'bar' ] ] * 100 ) #NEWLINE# l_struct = container . ListStruct ( ) #NEWLINE# l_struct . list_items = ( [ l_item ] * 100 ) #NEWLINE# b = serialize ( l_struct ) #NEWLINE# l_struct2 = deserialize ( container . ListStruct ( ) , b ) #NEWLINE# assert ( l_struct == l_struct2 )