Skip to content

Commit f8a0095

Browse files
committed
Update test_chat.py
1 parent f41c716 commit f8a0095

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

livekit-rtc/tests/test_chat.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ def test_message_serialization():
2020
msg2 = ChatMessage.from_jsondict(json.loads(json.dumps(data)))
2121
assert msg2.message == msg.message, "message should be the same"
2222
assert msg2.id == msg.id, "id should be the same"
23-
assert int(msg2.timestamp.timestamp() / 1000) == int(
24-
msg.timestamp.timestamp() / 1000
25-
), "timestamp should be the same"
23+
assert int(msg2.timestamp.timestamp() / 1000) == int(msg.timestamp.timestamp() / 1000), (
24+
"timestamp should be the same"
25+
)
2626
assert not msg2.deleted, "not deleted"
2727

2828
# deletion is handled

0 commit comments

Comments
 (0)