#NEWLINE# @ mock . patch . object ( Payday , 'fetch_card_holds' ) #NEWLINE# def test_payday_does_not_move_money_below_min_charge( self , fch ) : #NEWLINE# #INDENT# Enterprise = self . make_team ( is_approved = True ) #NEWLINE# self . obama . set_payment_instruction ( Enterprise , '6.00' ) #NEWLINE# fch . return_value = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# Payday . start ( ) . run ( ) #NEWLINE# obama = Participant . from_username ( 'obama' ) #NEWLINE# picard = Participant . from_username ( 'picard' ) #NEWLINE# assert ( picard . balance == D ( '0.00' ) ) #NEWLINE# assert ( obama . balance == D ( '0.00' ) ) #NEWLINE# assert ( obama . get_due ( 'TheEnterprise' ) == D ( '6.00' ) )