From 3cee94226f2eb128fa65489b9a9202eaf2cd7698 Mon Sep 17 00:00:00 2001 From: gcarq Date: Sat, 24 Mar 2018 22:16:42 +0100 Subject: [PATCH] fix flake8 warnings --- freqtrade/tests/strategy/test_strategy.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/freqtrade/tests/strategy/test_strategy.py b/freqtrade/tests/strategy/test_strategy.py index b6117fd00..3898a9e38 100644 --- a/freqtrade/tests/strategy/test_strategy.py +++ b/freqtrade/tests/strategy/test_strategy.py @@ -9,8 +9,12 @@ from freqtrade.strategy.resolver import StrategyResolver def test_search_strategy(): - default_location = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', '..', 'strategy') - assert isinstance(StrategyResolver._search_strategy(default_location, 'DefaultStrategy'), IStrategy) + default_location = os.path.join(os.path.dirname( + os.path.realpath(__file__)), '..', '..', 'strategy' + ) + assert isinstance( + StrategyResolver._search_strategy(default_location, 'DefaultStrategy'), IStrategy + ) assert StrategyResolver._search_strategy(default_location, 'NotFoundStrategy') is None