From c2ce05ac9d245af9b2f742661597d10a11a29c4b Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Fri, 19 Jul 2019 17:27:02 +0200 Subject: [PATCH] [FIX] account_bank_statement_import: Fix tests --- .../tests/test_paypal_statement_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_bank_statement_import_paypal/tests/test_paypal_statement_import.py b/account_bank_statement_import_paypal/tests/test_paypal_statement_import.py index 8bd106f..befc77e 100644 --- a/account_bank_statement_import_paypal/tests/test_paypal_statement_import.py +++ b/account_bank_statement_import_paypal/tests/test_paypal_statement_import.py @@ -52,7 +52,7 @@ class TestPaypalFile(common.SavepointCase): statement = staments_now - old_statements self.assertEqual(len(statement.line_ids), 3) self.assertEqual(len(statement.mapped('line_ids').filtered( - lambda x: x.partner_id and x.account_id)), 1) + lambda x: x.partner_id)), 1) self.assertAlmostEqual( sum(statement.mapped('line_ids.amount')), 1489.2 )