Fix typo in reloading_conf
This commit is contained in:
parent
3ecd23f853
commit
c18441f36f
@ -436,7 +436,7 @@ class RPC:
|
||||
def _rpc_reload_config(self) -> Dict[str, str]:
|
||||
""" Handler for reload_config. """
|
||||
self._freqtrade.state = State.RELOAD_CONFIG
|
||||
return {'status': 'reloading config ...'}
|
||||
return {'status': 'Reloading config ...'}
|
||||
|
||||
def _rpc_stopbuy(self) -> Dict[str, str]:
|
||||
"""
|
||||
|
@ -266,7 +266,7 @@ def test_api_reloadconf(botclient):
|
||||
|
||||
rc = client_post(client, f"{BASE_URI}/reload_config")
|
||||
assert_response(rc)
|
||||
assert rc.json == {'status': 'reloading config ...'}
|
||||
assert rc.json == {'status': 'Reloading config ...'}
|
||||
assert ftbot.state == State.RELOAD_CONFIG
|
||||
|
||||
|
||||
|
@ -692,7 +692,7 @@ def test_reload_config_handle(default_conf, update, mocker) -> None:
|
||||
telegram._reload_config(update=update, context=MagicMock())
|
||||
assert freqtradebot.state == State.RELOAD_CONFIG
|
||||
assert msg_mock.call_count == 1
|
||||
assert 'reloading config' in msg_mock.call_args_list[0][0][0]
|
||||
assert 'Reloading config' in msg_mock.call_args_list[0][0][0]
|
||||
|
||||
|
||||
def test_telegram_forcesell_handle(default_conf, update, ticker, fee,
|
||||
|
Loading…
Reference in New Issue
Block a user