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