Fix last_process related bug in RPC.health

This commit is contained in:
ASU
2023-02-27 12:14:38 +02:00
parent 44b1005077
commit 1d5608d627
7 changed files with 22 additions and 15 deletions

View File

@@ -1801,8 +1801,8 @@ def test_health(botclient):
assert_response(rc)
ret = rc.json()
assert ret['last_process_ts'] == 0
assert ret['last_process'] == '1970-01-01T00:00:00+00:00'
assert ret["last_process_ts"] is None
assert ret["last_process"] is None
def test_api_ws_subscribe(botclient, mocker):