def setUp(self): self.dados = BankCaixa( carteira=u'SR', agencia=u'1565', conta=u'414-3', data_vencimento=datetime.date(2011, 2, 5), valor_documento=355.00, nosso_numero=u'19525086', )
def setUp(self): payment = self.create_payment(value=Decimal('355'), date=datetime.date(2011, 2, 5)) bank = self.create_bank_account(bank_branch=u'1565', bank_account=u'414-3') bank.add_bill_option(u'especie_documento', u'DM') bank.add_bill_option(u'carteira', u'SR') bank.add_bill_option(u'nosso_numero', u'19525086') payment.method.destination_account.bank = bank self.dados = BankCaixa(payment)