From 5dccfab89c5f4788c4f0728549a07c78037faaee Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 22 Apr 2023 11:27:04 +0200 Subject: [PATCH] Add test for start_cap_ratio --- tests/rpc/test_rpc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/rpc/test_rpc.py b/tests/rpc/test_rpc.py index ff08a0564..5a84eaa48 100644 --- a/tests/rpc/test_rpc.py +++ b/tests/rpc/test_rpc.py @@ -591,6 +591,8 @@ def test_rpc_balance_handle(default_conf, mocker, tickers): 'side': 'short', } ] + assert result['starting_capital'] == 10 + assert result['starting_capital_ratio'] == 0.0 def test_rpc_start(mocker, default_conf) -> None: