|
@ -23,8 +23,8 @@ class TestOfxFile(TransactionCase): |
|
|
bank_statement.import_file() |
|
|
bank_statement.import_file() |
|
|
bank_st_record = self.bank_statement_model.search( |
|
|
bank_st_record = self.bank_statement_model.search( |
|
|
[('name', '=', '123456')])[0] |
|
|
[('name', '=', '123456')])[0] |
|
|
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) |
|
|
|
|
|
|
|
|
line = bank_st_record.line_ids[0] |
|
|
line = bank_st_record.line_ids[0] |
|
|
self.assertEquals(line.name, 'Agrolait') |
|
|
self.assertEquals(line.name, 'Agrolait') |
|
|