#NEWLINE# @ mock . patch . object ( Payday , 'fetch_card_holds' ) #NEWLINE# def test_payday_doesnt_move_money_to_a_suspicious_account( self , fch ) : #NEWLINE# #INDENT# self . db . run ( "\n            UPDATE participants\n               SET is_suspicious = true\n             WHERE username = 'homer'\n        " ) #NEWLINE# team = self . make_team ( owner = self . homer , is_approved = True ) #NEWLINE# self . obama . set_payment_instruction ( team , MINIMUM_CHARGE ) #NEWLINE# fch . return_value = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# Payday . start ( ) . run ( ) #NEWLINE# obama = Participant . from_username ( 'obama' ) #NEWLINE# homer = Participant . from_username ( 'homer' ) #NEWLINE# assert ( obama . balance == D ( '0.00' ) ) #NEWLINE# assert ( homer . balance == D ( '0.00' ) )