#NEWLINE# def test_transfer_dest_only( self ) : #NEWLINE# #INDENT# amounts = [ ( p . _id , float ( ( i * 10 ) ) ) for ( i , p ) in enumerate ( amt . products ) ] #NEWLINE# self . submit_xml_form ( transfer_dest_only ( amounts ) ) #NEWLINE# for ( product , amt ) in amounts : #NEWLINE# #INDENT# self . check_product_stock ( self . sp , product , amt , amt )