aboutsummaryrefslogtreecommitdiff
path: root/test_utils/models/thl/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'test_utils/models/thl/conftest.py')
-rw-r--r--test_utils/models/thl/conftest.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test_utils/models/thl/conftest.py b/test_utils/models/thl/conftest.py
index e09eadd..d20fdc4 100644
--- a/test_utils/models/thl/conftest.py
+++ b/test_utils/models/thl/conftest.py
@@ -700,6 +700,14 @@ def user_with_wallet_amt(
return user_factory(save=True, product=product_amt_true)
+@pytest.fixture
+def user_failed_attempt_credit(
+ user_factory: Callable[..., User], product_failed_attempt_credit: Product
+) -> User:
+ # A user on a product with user wallet enabled, failed_attempt_credit enabled
+ return user_factory(save=True, product=product_failed_attempt_credit)
+
+
# --- User Payout Event ---