Reformat telegram test

This commit is contained in:
Matthias
2021-10-29 07:04:20 +02:00
parent 560802c326
commit 240923341b
2 changed files with 5 additions and 8 deletions

View File

@@ -1071,7 +1071,8 @@ def test_mix_tag_performance_handle(default_conf, update, ticker, fee,
telegram._mix_tag_performance(update=update, context=MagicMock())
assert msg_mock.call_count == 1
assert 'Mix Tag Performance' in msg_mock.call_args_list[0][0][0]
assert '<code>TESTBUY TESTSELL\t0.00006217 BTC (6.20%) (1)</code>' in msg_mock.call_args_list[0][0][0]
assert ('<code>TESTBUY TESTSELL\t0.00006217 BTC (6.20%) (1)</code>'
in msg_mock.call_args_list[0][0][0])
def test_count_handle(default_conf, update, ticker, fee, mocker) -> None: