reword stopbuy message

This commit is contained in:
Matthias 2019-03-18 06:28:58 +01:00
parent aa698a8412
commit 8d173efe2d
2 changed files with 2 additions and 2 deletions

View File

@ -422,7 +422,7 @@ def test_rpc_stopbuy(mocker, default_conf) -> None:
assert freqtradebot.config['max_open_trades'] != 0
result = rpc._rpc_stopbuy()
assert {'status': 'Setting max_open_trades to 0. Run /reload_conf to reset.'} == result
assert {'status': 'No more buy will occur from now. Run /reload_conf to reset.'} == result
assert freqtradebot.config['max_open_trades'] == 0

View File

@ -678,7 +678,7 @@ def test_stopbuy_handle(default_conf, update, mocker) -> None:
telegram._stopbuy(bot=MagicMock(), update=update)
assert freqtradebot.config['max_open_trades'] == 0
assert msg_mock.call_count == 1
assert 'Setting max_open_trades to 0. Run /reload_conf to reset.' \
assert 'No more buy will occur from now. Run /reload_conf to reset.' \
in msg_mock.call_args_list[0][0][0]