From 65972d9c0cabc802842dd27c9ee6bda30261d28b Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 16 Jul 2024 06:51:31 +0200 Subject: [PATCH] Add cooldown with timeperiod test --- tests/plugins/test_protections.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/plugins/test_protections.py b/tests/plugins/test_protections.py index 02252fb64..9d34d18fe 100644 --- a/tests/plugins/test_protections.py +++ b/tests/plugins/test_protections.py @@ -692,6 +692,14 @@ def test_MaxDrawdown(mocker, default_conf, fee, caplog): "if drawdown is > 0.0 within 20 candles.'}]", None, ), + ( + { + "method": "CooldownPeriod", + "unlock_at": "01:00", + }, + "[{'CooldownPeriod': 'CooldownPeriod - Cooldown period until 01:00.'}]", + None, + ), ( { "method": "StoplossGuard",