mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-03 18:43:04 +00:00
test: update tests related to paused state status message wording
This commit is contained in:
@@ -1229,7 +1229,10 @@ async def test_pause_handle(default_conf, update, mocker) -> None:
|
||||
await telegram._pause(update=update, context=MagicMock())
|
||||
assert freqtradebot.state == State.PAUSED
|
||||
assert msg_mock.call_count == 1
|
||||
assert "pausing trader ..." in msg_mock.call_args_list[0][0][0]
|
||||
assert (
|
||||
"paused, no entries will occur. Run /start to enable entries."
|
||||
in msg_mock.call_args_list[0][0][0]
|
||||
)
|
||||
|
||||
|
||||
async def test_reload_config_handle(default_conf, update, mocker) -> None:
|
||||
|
||||
Reference in New Issue
Block a user