#NEWLINE# def test_deposit( self ) : #NEWLINE# #INDENT# wallet_obj = factories . WalletFactory . create ( ) #NEWLINE# ( _ , balance ) = api . get_balance ( wallet_obj . owner_id , wallet_obj . currency ) #NEWLINE# self . assertEqual ( balance , Money ( 0 , wallet_obj . currency ) ) #NEWLINE# trx_obj = api . deposit ( wallet_obj . owner_id , Money ( 100 , wallet_obj . currency ) ) #NEWLINE# self . assertIsNotNone ( trx_obj ) #NEWLINE# ( _ , balance ) = api . get_balance ( wallet_obj . owner_id , wallet_obj . currency ) #NEWLINE# self . assertEqual ( balance , Money ( 100 , wallet_obj . currency ) )