mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Remove unused test method
This commit is contained in:
@@ -795,9 +795,6 @@ def test_strategy_safe_wrapper_error(caplog, error):
|
|||||||
def failing_method():
|
def failing_method():
|
||||||
raise error('This is an error.')
|
raise error('This is an error.')
|
||||||
|
|
||||||
def working_method(argumentpassedin):
|
|
||||||
return argumentpassedin
|
|
||||||
|
|
||||||
with pytest.raises(StrategyError, match=r'This is an error.'):
|
with pytest.raises(StrategyError, match=r'This is an error.'):
|
||||||
strategy_safe_wrapper(failing_method, message='DeadBeef')()
|
strategy_safe_wrapper(failing_method, message='DeadBeef')()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user