From fb4dd6c2ac161fd5af1b901a0eab931d868a0673 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 13 Jun 2021 11:34:44 +0200 Subject: [PATCH] Update test to cover this scenario --- tests/strategy/test_strategy_loading.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/strategy/test_strategy_loading.py b/tests/strategy/test_strategy_loading.py index 965c3d37b..bd192ecb5 100644 --- a/tests/strategy/test_strategy_loading.py +++ b/tests/strategy/test_strategy_loading.py @@ -129,13 +129,16 @@ def test_strategy_override_minimal_roi(caplog, default_conf): default_conf.update({ 'strategy': 'DefaultStrategy', 'minimal_roi': { + "20": 0.1, "0": 0.5 } }) strategy = StrategyResolver.load_strategy(default_conf) assert strategy.minimal_roi[0] == 0.5 - assert log_has("Override strategy 'minimal_roi' with value in config file: {'0': 0.5}.", caplog) + assert log_has( + "Override strategy 'minimal_roi' with value in config file: {'20': 0.1, '0': 0.5}.", + caplog) def test_strategy_override_stoploss(caplog, default_conf):