aboutsummaryrefslogtreecommitdiff
path: root/tests/managers/thl/test_ledger/test_thl_lm_accounts.py
diff options
context:
space:
mode:
authorstuppie2026-09-03 18:17:45 -0600
committerstuppie2026-09-03 18:17:45 -0600
commit131c73789ac97a577cab9f19813fea28869d8992 (patch)
treeaf5bda39b388342c3e6b816070b94836540172ab /tests/managers/thl/test_ledger/test_thl_lm_accounts.py
parentc9e1fc6839d8fc3ce145f65ad3c3c628af67626b (diff)
downloadgeneralresearch-131c73789ac97a577cab9f19813fea28869d8992.tar.gz
generalresearch-131c73789ac97a577cab9f19813fea28869d8992.zip
fix tests in tests/managers/thl/test_ledger
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,