We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f41c716 commit f8a0095Copy full SHA for f8a0095
livekit-rtc/tests/test_chat.py
@@ -20,9 +20,9 @@ def test_message_serialization():
20
msg2 = ChatMessage.from_jsondict(json.loads(json.dumps(data)))
21
assert msg2.message == msg.message, "message should be the same"
22
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"
+ assert int(msg2.timestamp.timestamp() / 1000) == int(msg.timestamp.timestamp() / 1000), (
+ "timestamp should be the same"
+ )
26
assert not msg2.deleted, "not deleted"
27
28
# deletion is handled
0 commit comments