From a9f13d29fd8944fb6bfbc3b4503b833bde65b829 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 19 May 2024 17:48:36 +0200 Subject: [PATCH] Fix test type errors --- tests/strategy/strats/hyperoptable_strategy.py | 2 +- tests/strategy/strats/hyperoptable_strategy_v2.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/strategy/strats/hyperoptable_strategy.py b/tests/strategy/strats/hyperoptable_strategy.py index bc71ed3ae..3a2b210be 100644 --- a/tests/strategy/strats/hyperoptable_strategy.py +++ b/tests/strategy/strats/hyperoptable_strategy.py @@ -52,7 +52,7 @@ class HyperoptableStrategy(StrategyTestV3): bot_loop_started = False bot_started = False - def bot_loop_start(self): + def bot_loop_start(self, **kwargs): self.bot_loop_started = True def bot_start(self, **kwargs) -> None: diff --git a/tests/strategy/strats/hyperoptable_strategy_v2.py b/tests/strategy/strats/hyperoptable_strategy_v2.py index 650c587f5..40e139e1f 100644 --- a/tests/strategy/strats/hyperoptable_strategy_v2.py +++ b/tests/strategy/strats/hyperoptable_strategy_v2.py @@ -48,7 +48,7 @@ class HyperoptableStrategyV2(StrategyTestV2): bot_loop_started = False - def bot_loop_start(self): + def bot_loop_start(self, **kwargs): self.bot_loop_started = True def bot_start(self, **kwargs) -> None: