2
0

[FIX] account_asset_batch_compute: assertEquals -> assertEqual

This commit is contained in:
Miquel Raïch 2022-05-06 10:47:18 +02:00 committed by Javier Iniesta
parent f9ebe44213
commit ab8c1ddfe3

View File

@ -139,4 +139,4 @@ class TestAccountAssetBatchCompute(TransactionCase):
depreciation_line = self.asset01.depreciation_line_ids.filtered( depreciation_line = self.asset01.depreciation_line_ids.filtered(
lambda r: r.type == "depreciate" and r.move_id lambda r: r.type == "depreciate" and r.move_id
) )
self.assertEquals(len(depreciation_line), 1) self.assertEqual(len(depreciation_line), 1)