#NEWLINE# def test_other_statuses_dont_affect_balance_for_payins( self ) : #NEWLINE# #INDENT# self . make_participants ( ) #NEWLINE# for status in ( 'pre' , 'pending' ) : #NEWLINE# #INDENT# self . record_an_exchange ( { #NEWLINE# #INDENT# 'amount' : '10' , #NEWLINE# 'fee' : '0' , #NEWLINE# 'status' : status , #NEWLINE# #UNINDENT# } , False ) #NEWLINE# assert ( self . db . one ( "SELECT balance FROM participants WHERE username='bob'" ) == 0 )