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 cd92243 commit 07ddeccCopy full SHA for 07ddecc
tests/test_frame.py
@@ -15,6 +15,11 @@ def test_create_frame_happy_path(self):
15
# ISO timestamp must end with timezone info
16
self.assertTrue(frame['dt'].endswith("+00:00"))
17
18
+ # Sent date matches log record date
19
+ date_ref = datetime.utcfromtimestamp(log_record.created)
20
+ date_sent = datetime.fromisoformat(frame['dt'])
21
+ self.assertEqual(date_ref, date_sent)
22
+
23
def test_create_frame_with_extra(self):
24
handler = LogtailHandler(source_token="some-source-token")
25
0 commit comments