1
0
mirror of https://github.com/b4tman/sync_ics2gcal synced 2025-07-24 13:43:36 +00:00
This commit is contained in:
2018-04-15 23:41:50 +03:00
parent 648e418177
commit dddde78b8a
2 changed files with 79 additions and 75 deletions

@@ -70,6 +70,7 @@ END:VEVENT
END:VCALENDAR
"""
class TestCalendarConverter(unittest.TestCase):
def test_empty_calendar(self):
converter = CalendarConverter()
@@ -150,5 +151,6 @@ class TestCalendarConverter(unittest.TestCase):
self.assertEqual(event['created'], '2018-03-20T07:11:55.000001Z')
self.assertEqual(event['updated'], '2018-03-26T12:02:35.000001Z')
if __name__ == '__main__':
unittest.main()

@@ -1,5 +1,6 @@
import unittest
class TestImports(unittest.TestCase):
def test_imports(self):
from gcal_sync import (
@@ -10,5 +11,6 @@ class TestImports(unittest.TestCase):
CalendarSync
)
if __name__ == '__main__':
unittest.main()