#NEWLINE# def test_usaa_check( self ) : #NEWLINE# #INDENT# qiftext = textwrap . dedent ( '        !Type:Bank\n        D01/25/2007\n        T-22.00\n        N\n        PCHECK # 0000005287\n        MChecks\n        ^\n        ' ) #NEWLINE# converter = ofxtools . QifConverter ( qiftext ) #NEWLINE# txn = converter . txns_by_date [ '20070125' ] [ 0 ] #NEWLINE# self . assertEqual ( txn . get ( 'Type' ) , 'CHECK' ) #NEWLINE# self . assertEqual ( txn . get ( 'Number' ) , '5287' )