Browse Source

Adapt start/end balance in the OFX test

pull/142/head
Alexis de Lattre 10 years ago
committed by Nicolas JEUDY
parent
commit
3f72c8c3f3
  1. 4
      account_bank_statement_import_ofx/tests/test_import_bank_statement.py

4
account_bank_statement_import_ofx/tests/test_import_bank_statement.py

@ -28,5 +28,5 @@ class TestOfxFile(TransactionCase):
self.statement_import_model.import_file(cr, uid, [bank_statement_id]) self.statement_import_model.import_file(cr, uid, [bank_statement_id])
statement_id = self.bank_statement_model.search(cr, uid, [('name', '=', '000000123')])[0] statement_id = self.bank_statement_model.search(cr, uid, [('name', '=', '000000123')])[0]
bank_st_record = self.bank_statement_model.browse(cr, uid, statement_id) bank_st_record = self.bank_statement_model.browse(cr, uid, statement_id)
self.assertEquals(bank_st_record.balance_start, 2156.56)
self.assertEquals(bank_st_record.balance_end_real, 1796.56)
self.assertEquals(bank_st_record.balance_start, 2516.56)
self.assertEquals(bank_st_record.balance_end_real, 2156.56)
Loading…
Cancel
Save