Merge pull request #1973 from hroff-1902/minor-typos-1
minor: couple of typos fixed
This commit is contained in:
commit
086d690df7
@ -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:
|
||||
|
@ -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)})
|
||||
|
Loading…
Reference in New Issue
Block a user