aboutsummaryrefslogtreecommitdiff
path: root/tests/managers/thl/test_ledger/test_thl_lm_accounts.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/managers/thl/test_ledger/test_thl_lm_accounts.py')
-rw-r--r--tests/managers/thl/test_ledger/test_thl_lm_accounts.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/managers/thl/test_ledger/test_thl_lm_accounts.py b/tests/managers/thl/test_ledger/test_thl_lm_accounts.py
index adff446..107ff00 100644
--- a/tests/managers/thl/test_ledger/test_thl_lm_accounts.py
+++ b/tests/managers/thl/test_ledger/test_thl_lm_accounts.py
@@ -172,14 +172,15 @@ class TestThlLedgerManagerAccounts:
thl_ledger_manager.get_account_task_complete_revenue()
def test_get_account_task_complete_revenue(
- self,
- thl_ledger_manager: ThlLedgerManager,
+ self, thl_ledger_manager: ThlLedgerManager, create_main_accounts
):
from generalresearch.models.thl.ledger import (
AccountType,
LedgerAccount,
)
+ create_main_accounts()
+
res = thl_ledger_manager.get_account_task_complete_revenue()
assert isinstance(res, LedgerAccount)
assert res.reference_type is None
@@ -201,7 +202,9 @@ class TestThlLedgerManagerAccounts:
def test_get_account_cash(
self,
thl_ledger_manager: ThlLedgerManager,
+ create_main_accounts
):
+ create_main_accounts()
from generalresearch.models.thl.ledger import (
AccountType,
LedgerAccount,