Fix broken unittest for /daily telegram command
This commit is contained in:
parent
4b38100ae2
commit
380060e47e
@ -350,7 +350,7 @@ def test_daily_handle(
|
||||
_daily(bot=MagicMock(), update=update)
|
||||
assert msg_mock.call_count == 1
|
||||
assert 'Daily' in msg_mock.call_args_list[0][0][0]
|
||||
assert str(date.today()) + ' 1.50701325 BTC' in msg_mock.call_args_list[0][0][0]
|
||||
assert str(date.today()) + ' 0 BTC' in msg_mock.call_args_list[0][0][0]
|
||||
|
||||
#try invalid data
|
||||
msg_mock.reset_mock()
|
||||
|
Loading…
Reference in New Issue
Block a user