rest of telegram tests adjusted

This commit is contained in:
hroff-1902 2019-03-26 12:45:19 +03:00
parent 8aee009a0a
commit c6d2c1e520

View File

@ -697,7 +697,9 @@ def test_stopbuy_handle(default_conf, update, mocker) -> None:
_send_msg=msg_mock
)
freqtradebot = get_patched_freqtradebot(mocker, default_conf)
worker = get_patched_worker(mocker, default_conf)
freqtradebot = worker.freqtrade
telegram = Telegram(freqtradebot)
assert freqtradebot.config['max_open_trades'] != 0