diff options
| author | Max Nanis | 2026-08-26 09:17:39 -0700 |
|---|---|---|
| committer | Max Nanis | 2026-08-26 09:17:39 -0700 |
| commit | 47ea200eac0eaa7bef02f6ebb05de9afad5ee0d7 (patch) | |
| tree | 0721a0145bf9db795ef442ca211caf9db2fad420 /tests/managers/thl/test_ledger/test_wallet.py | |
| parent | 3b4059135be47f7752a08e4277a85f9e57ceaa9d (diff) | |
| download | generalresearch-47ea200eac0eaa7bef02f6ebb05de9afad5ee0d7.tar.gz generalresearch-47ea200eac0eaa7bef02f6ebb05de9afad5ee0d7.zip | |
Ruff morning!
Diffstat (limited to 'tests/managers/thl/test_ledger/test_wallet.py')
| -rw-r--r-- | tests/managers/thl/test_ledger/test_wallet.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/managers/thl/test_ledger/test_wallet.py b/tests/managers/thl/test_ledger/test_wallet.py index 9e886db..cad3ea4 100644 --- a/tests/managers/thl/test_ledger/test_wallet.py +++ b/tests/managers/thl/test_ledger/test_wallet.py @@ -6,7 +6,6 @@ from uuid import uuid4 import pytest -from generalresearch.managers.thl.ledger_manager.ledger import LedgerManager from generalresearch.managers.thl.ledger_manager.thl_ledger import ThlLedgerManager from generalresearch.managers.thl.product import ProductManager from generalresearch.models.thl.product import ( @@ -55,6 +54,7 @@ class TestGetUserWalletBalance: user: User = user_factory(schrute_product) balance = thl_ledger_manager.get_user_wallet_balance(user=user) assert balance == 0 + assert isinstance(user.product, Product) balance_string = user.product.format_payout_format(Decimal(balance) / 100) assert balance_string == "0 Schrute Bucks" redeemable_balance = thl_ledger_manager.get_user_redeemable_wallet_balance( |
