aboutsummaryrefslogtreecommitdiff
path: root/tests/managers/thl/test_cashout_method.py
diff options
context:
space:
mode:
authorstuppie2026-09-06 19:33:43 -0600
committerstuppie2026-09-06 19:33:43 -0600
commitb07720826af57f056aec3818a3646bb296a24bfd (patch)
tree83bce7bb4ed1223c9576079658bce4874cc06087 /tests/managers/thl/test_cashout_method.py
parent0645e930703a6fa01ef913a3a93720aedbe6a9f5 (diff)
downloadgeneralresearch-b07720826af57f056aec3818a3646bb296a24bfd.tar.gz
generalresearch-b07720826af57f056aec3818a3646bb296a24bfd.zip
GeoIPInformation cant make geoname_id required
Diffstat (limited to 'tests/managers/thl/test_cashout_method.py')
-rw-r--r--tests/managers/thl/test_cashout_method.py31
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/managers/thl/test_cashout_method.py b/tests/managers/thl/test_cashout_method.py
index 877d7b2..fc364f2 100644
--- a/tests/managers/thl/test_cashout_method.py
+++ b/tests/managers/thl/test_cashout_method.py
@@ -51,37 +51,6 @@ class TestTangoCashoutMethods:
assert len(res) == 2
-class TestAMTCashoutMethods:
-
- def test_create_and_get(
- self,
- settings: GRLBaseSettings,
- cashout_method_manager: CashoutMethodManager,
- setup_cashoutmethod_db: Callable[..., None],
- ):
- setup_cashoutmethod_db()
-
- res = cashout_method_manager.filter(payout_types=[PayoutType.AMT])
- assert len(res) == 2
-
- cm = next(x for x in res if x.name == "AMT Assignment")
- assert settings.amt_assignment_cashout_method_id == cm
-
- cm = next(x for x in res if x.name == "AMT Bonus")
- assert settings.amt_bonus_cashout_method_id == cm
-
- def test_user(
- self,
- cashout_method_manager: CashoutMethodManager,
- user_with_wallet_amt: User,
- setup_cashoutmethod_db: Callable[..., None],
- ):
- setup_cashoutmethod_db()
-
- res = cashout_method_manager.get_cashout_methods(user_with_wallet_amt)
- # This user has the 2 tango, plus amt bonus & assignment
- assert len(res) == 4
-
class TestUserCashoutMethods: