#NEWLINE# def test_dash_amount( self ) : #NEWLINE# #INDENT# qiftext = textwrap . dedent ( '        !Type:Bank\n        D02/01/2005\n        T25.42\n        ^\n        D02/01/2005\n        T-\n        ^\n        ' ) #NEWLINE# converter = ofxtools . QifConverter ( qiftext ) #NEWLINE# txn_list = converter . txns_by_date [ '20050201' ] #NEWLINE# self . assertEqual ( len ( txn_list ) , 1 ) #NEWLINE# txn = txn_list [ 0 ] #NEWLINE# self . assertEqual ( txn [ 'Amount' ] , '25.42' )