Fix random test failure

This commit is contained in:
Matthias 2021-03-10 10:39:38 +01:00
parent 0db5c9746f
commit 333ad02605
1 changed files with 1 additions and 1 deletions

View File

@ -1130,7 +1130,7 @@ def test_telegram_trades(mocker, update, default_conf, fee):
assert "Profit (" in msg_mock.call_args_list[0][0][0]
assert "Close Date" in msg_mock.call_args_list[0][0][0]
assert "<pre>" in msg_mock.call_args_list[0][0][0]
assert bool(re.search("just now[ ]*XRP\\/BTC \\(#3\\) 1.00% \\(None\\)",
assert bool(re.search(r"just now[ ]*XRP\/BTC \(#3\) 1.00% \(",
msg_mock.call_args_list[0][0][0]))