apply __slots__ to resolver and reintroduce type conversations

This commit is contained in:
gcarq
2018-03-24 23:32:17 +01:00
parent 99e890bc99
commit 5fb6fa38aa
2 changed files with 11 additions and 11 deletions

View File

@@ -115,7 +115,6 @@ def test_strategy_override_ticker_interval(caplog):
def test_strategy_fallback_default_strategy():
strategy = StrategyResolver()
strategy.logger = logging.getLogger(__name__)
assert not hasattr(StrategyResolver, 'custom_strategy')
strategy._load_strategy('../../super_duper')