Show Number of exits

part of #8234
This commit is contained in:
Matthias
2023-03-02 19:50:01 +01:00
parent 6a0848a3a9
commit 022f85095e
2 changed files with 4 additions and 0 deletions

View File

@@ -279,6 +279,7 @@ def test_telegram_status_multi_entry(default_conf, update, mocker, fee) -> None:
assert msg_mock.call_count == 4
msg = msg_mock.call_args_list[0][0][0]
assert re.search(r'Number of Entries.*2', msg)
assert re.search(r'Number of Exits.*0', msg)
assert re.search(r'Average Entry Price', msg)
assert re.search(r'Order filled', msg)
assert re.search(r'Close Date:', msg) is None