diff options
| author | Max Nanis | 2026-03-07 09:51:37 -0500 |
|---|---|---|
| committer | Max Nanis | 2026-03-07 09:51:37 -0500 |
| commit | 9833e57ccd2f9ec2090ab1f7da97500a071664b9 (patch) | |
| tree | d44f8d1725164e1a83ed15d31d8b62b7487ec81e /tests/managers/thl/test_cashout_method.py | |
| parent | 91d040211a4ed6e4157896256a762d3854777b5e (diff) | |
| download | generalresearch-9833e57ccd2f9ec2090ab1f7da97500a071664b9.tar.gz generalresearch-9833e57ccd2f9ec2090ab1f7da97500a071664b9.zip | |
conftest type annotations.
Diffstat (limited to 'tests/managers/thl/test_cashout_method.py')
| -rw-r--r-- | tests/managers/thl/test_cashout_method.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/managers/thl/test_cashout_method.py b/tests/managers/thl/test_cashout_method.py index fe561d3..ee52188 100644 --- a/tests/managers/thl/test_cashout_method.py +++ b/tests/managers/thl/test_cashout_method.py @@ -3,13 +3,11 @@ import pytest from generalresearch.models.thl.wallet import PayoutType from generalresearch.models.thl.wallet.cashout_method import ( CashMailCashoutMethodData, - USDeliveryAddress, PaypalCashoutMethodData, + USDeliveryAddress, ) from test_utils.managers.cashout_methods import ( EXAMPLE_TANGO_CASHOUT_METHODS, - AMT_ASSIGNMENT_CASHOUT_METHOD, - AMT_BONUS_CASHOUT_METHOD, ) @@ -34,8 +32,10 @@ class TestAMTCashoutMethods: def test_create_and_get(self, cashout_method_manager, setup_cashoutmethod_db): res = cashout_method_manager.filter(payout_types=[PayoutType.AMT]) assert len(res) == 2 + cm = [x for x in res if x.name == "AMT Assignment"][0] assert AMT_ASSIGNMENT_CASHOUT_METHOD == cm + cm = [x for x in res if x.name == "AMT Bonus"][0] assert AMT_BONUS_CASHOUT_METHOD == cm |
