From b3a1691db1b83a1af9f88aef7b23435c7aabaebb Mon Sep 17 00:00:00 2001 From: "Ronald Portier (Therp BV)" Date: Fri, 3 Apr 2015 01:06:00 +0200 Subject: [PATCH] [FIX] No journal_id keyword parm on _create_bank_account(..) --- .../tests/test_import_bank_statement.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/account_bank_statement_import/tests/test_import_bank_statement.py b/account_bank_statement_import/tests/test_import_bank_statement.py index 9d080d3..26eb0ee 100644 --- a/account_bank_statement_import/tests/test_import_bank_statement.py +++ b/account_bank_statement_import/tests/test_import_bank_statement.py @@ -65,10 +65,7 @@ class TestAccountBankStatemetImport(TransactionCase): """ journal = self.account_journal_model.browse(self.journal_id) expected_id = journal.company_id.partner_id.id - st_import = self.statement_import_model.sudo(self.other_user_id_a.id) bank = st_import._create_bank_account( '001251882303', company_id=self.company_id) - - self.assertEqual(bank.partner_id.id, - expected_id) + self.assertEqual(bank.partner_id.id, expected_id)