minor: couple of typos fixed

This commit is contained in:
hroff-1902 2019-06-26 22:23:16 +03:00
parent ca7080c2bb
commit 6fc6eaf742
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ class StrategyResolver(IResolver):
abs_paths.insert(0, Path(extra_dir).resolve())
if ":" in strategy_name:
logger.info("loading base64 endocded strategy")
logger.info("loading base64 encoded strategy")
strat = strategy_name.split(":")
if len(strat) == 2:

View File

@ -66,7 +66,7 @@ def test_load_strategy(result):
assert 'adx' in resolver.strategy.advise_indicators(result, {'pair': 'ETH/BTC'})
def test_load_strategy_byte64(result):
def test_load_strategy_base64(result):
with open("freqtrade/tests/strategy/test_strategy.py", "r") as file:
encoded_string = urlsafe_b64encode(file.read().encode("utf-8")).decode("utf-8")
resolver = StrategyResolver({'strategy': 'TestStrategy:{}'.format(encoded_string)})