aboutsummaryrefslogtreecommitdiff
path: root/tests/models/thl
diff options
context:
space:
mode:
authorGreg Stupp2026-09-08 17:43:00 +0000
committerGreg Stupp2026-09-08 17:43:00 +0000
commita65c38241f9b27abac166afb050b1ec846e5561d (patch)
treee25cd8ec5ac74b301f0282ed5a6a359f3450c112 /tests/models/thl
parent8896faf529f634985a0eb6e1ae77e4ebf7ab4ba0 (diff)
parent70e2024b3b8abdf3965f59545aa35fda6270de1d (diff)
downloadgeneralresearch-2fc5876ece4b70b8a6cadbf193ddb179f6439d73.tar.gz
generalresearch-2fc5876ece4b70b8a6cadbf193ddb179f6439d73.zip
Merges pull request #3 v3.4.6
Dev greg
Diffstat (limited to 'tests/models/thl')
-rw-r--r--tests/models/thl/test_product_userwalletconfig.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/models/thl/test_product_userwalletconfig.py b/tests/models/thl/test_product_userwalletconfig.py
index b1bfa60..9fb9c73 100644
--- a/tests/models/thl/test_product_userwalletconfig.py
+++ b/tests/models/thl/test_product_userwalletconfig.py
@@ -23,6 +23,7 @@ class TestProductUserWalletConfig:
# Check the defaults
assert not instance.enabled
+ assert instance.balance_type == "wallet_balance"
assert not instance.amt
assert isinstance(instance.supported_payout_types, set)
@@ -30,6 +31,11 @@ class TestProductUserWalletConfig:
assert instance.min_cashout is None
+ def test_redeemable_balance_type(self):
+ instance = UserWalletConfig(balance_type="redeemable_balance")
+
+ assert instance.balance_type == "redeemable_balance"
+
def test_model_dump(self):
instance = UserWalletConfig()