From 99aa26276551dbf63b09f7e9e7bc15db442fd73d Mon Sep 17 00:00:00 2001 From: Joshua Teitelbaum Date: Tue, 19 Sep 2023 10:31:55 -0700 Subject: [PATCH] adds test real quick like (#593) --- tests/test_api/test_other_zendesk_objects.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/test_api/test_other_zendesk_objects.py b/tests/test_api/test_other_zendesk_objects.py index 82c031e8..836f61ed 100644 --- a/tests/test_api/test_other_zendesk_objects.py +++ b/tests/test_api/test_other_zendesk_objects.py @@ -33,8 +33,12 @@ from zenpy.lib.exception import ( RecordNotFoundException, ) - - +from zenpy.lib import util +from datetime import datetime +from unittest import TestCase +class DateTimeTest(TestCase): + def test_datetime_import(self): + util.to_unix_ts(datetime.utcnow()) class TicketsIncrementalTest(IncrementalPaginationTestCase): __test__ = True ZenpyType = Ticket