Skip to content

Commit

Permalink
[IMP]Prettier tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matteonext committed Apr 13, 2023
1 parent de9428a commit 66ec237
Showing 1 changed file with 4 additions and 28 deletions.
32 changes: 4 additions & 28 deletions l10n_it_asset_management/tests/test_l10n_it_asset_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 66ec237

Please sign in to comment.