diff --git a/l10n_it_asset_management/tests/test_l10n_it_asset_management.py b/l10n_it_asset_management/tests/test_l10n_it_asset_management.py index e96945096ad4..757d4f489040 100644 --- a/l10n_it_asset_management/tests/test_l10n_it_asset_management.py +++ b/l10n_it_asset_management/tests/test_l10n_it_asset_management.py @@ -21,13 +21,7 @@ def setUpClass(cls): "name": "Asset category 1", "asset_account_id": cls.env["account.account"] .search( - [ - ( - "account_type", - "=", - "asset_fixed" - ) - ], + [("account_type", "=", "asset_fixed")], limit=1, ) .id, @@ -45,25 +39,13 @@ def setUpClass(cls): .id, "fund_account_id": cls.env["account.account"] .search( - [ - ( - "account_type", - "=", - "asset_non_current" - ) - ], + [("account_type", "=", "asset_non_current")], limit=1, ) .id, "gain_account_id": cls.env["account.account"] .search( - [ - ( - "account_type", - "=", - "expense_direct_cost" - ) - ], + [("account_type", "=", "expense_direct_cost")], limit=1, ) .id, @@ -72,13 +54,7 @@ def setUpClass(cls): .id, "loss_account_id": cls.env["account.account"] .search( - [ - ( - "account_type", - "=", - "expense" - ) - ], + [("account_type", "=", "expense")], limit=1, ) .id,