From 89e68d7d4d897b8c877b25d5c5287c6583ca8d2b Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 25 Oct 2025 09:40:56 +0200 Subject: [PATCH] test: add test case for string custom stake amount --- tests/test_wallets.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_wallets.py b/tests/test_wallets.py index 002e27c18..a7f83ebf0 100644 --- a/tests/test_wallets.py +++ b/tests/test_wallets.py @@ -191,6 +191,8 @@ def test_get_trade_stake_amount_unlimited_amount( (1000, None, 1000, 10000, None, 1000), # No min-stake-amount could be determined # Rebuy - resulting in too high stake amount. Adjusting. (2000, 15, 2000, 3000, 1500, 1500), + ("undefined", 15, 100, 10000, None, 0), # string stake amount + ("22.2", 15, 100, 10000, None, 0), # string stake amount but as float ], ) def test_validate_stake_amount(