Improve comment in test

This commit is contained in:
Matthias 2020-08-29 10:14:49 +02:00
parent 289425a434
commit a595d23bf1

View File

@ -835,8 +835,7 @@ def test_forcesell_all_handle(default_conf, update, ticker, fee, mocker) -> None
context.args = ["all"] context.args = ["all"]
telegram._forcesell(update=update, context=context) telegram._forcesell(update=update, context=context)
# Called for all trades 3 times # Called for each trade 3 times
# cancel notification (wtf??), sell notification, buy_cancel
assert rpc_mock.call_count == 8 assert rpc_mock.call_count == 8
msg = rpc_mock.call_args_list[1][0][0] msg = rpc_mock.call_args_list[1][0][0]
assert { assert {