aboutsummaryrefslogtreecommitdiff
path: root/test_utils/managers/conftest.py
diff options
context:
space:
mode:
authorMax Nanis2026-08-30 22:14:44 -0700
committerMax Nanis2026-08-30 22:14:44 -0700
commit89e88d7695044785470824dee839fd3cd6bd5ddf (patch)
treedaabfc38291b0e490b24a2021a0096ae00762557 /test_utils/managers/conftest.py
parent2982c55ba175f0995b0c2ab4a1142a5d2635f6ac (diff)
downloadgeneralresearch-89e88d7695044785470824dee839fd3cd6bd5ddf.tar.gz
generalresearch-89e88d7695044785470824dee839fd3cd6bd5ddf.zip
imports work, gr base_init works. jenkins test1
Diffstat (limited to 'test_utils/managers/conftest.py')
-rw-r--r--test_utils/managers/conftest.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/test_utils/managers/conftest.py b/test_utils/managers/conftest.py
index b03a646..9c6a1a7 100644
--- a/test_utils/managers/conftest.py
+++ b/test_utils/managers/conftest.py
@@ -32,12 +32,10 @@ from generalresearch.managers.thl.userhealth import (
UserIpHistoryManager,
)
from generalresearch.models import Source
+from generalresearch.models.thl.wallet.cashout_method import CashoutMethod
from generalresearch.pg_helper import PostgresConfig
from generalresearch.redis_helper import RedisConfig
from generalresearch.sql_helper import SqlHelper
-from test_utils.managers.cashout_methods import (
- EXAMPLE_TANGO_CASHOUT_METHODS,
-)
# === THL ===
@@ -172,12 +170,13 @@ def delete_cashoutmethod_db(thl_web_rw: PostgresConfig) -> Callable[..., None]:
def setup_cashoutmethod_db(
cashout_method_manager: CashoutMethodManager,
delete_cashoutmethod_db: Callable[..., None],
+ example_tango_cashout_methods: list[CashoutMethod],
) -> Callable[..., None]:
def _inner():
delete_cashoutmethod_db()
- for x in EXAMPLE_TANGO_CASHOUT_METHODS:
+ for x in example_tango_cashout_methods:
cashout_method_manager.create(x)
# TODO: convert these ids into instances to use.