mirror of
https://github.com/b4tman/sync_ics2gcal
synced 2025-02-01 20:28:30 +00:00
autopep8
This commit is contained in:
parent
648e418177
commit
dddde78b8a
@ -70,6 +70,7 @@ END:VEVENT
|
|||||||
END:VCALENDAR
|
END:VCALENDAR
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
class TestCalendarConverter(unittest.TestCase):
|
class TestCalendarConverter(unittest.TestCase):
|
||||||
def test_empty_calendar(self):
|
def test_empty_calendar(self):
|
||||||
converter = CalendarConverter()
|
converter = CalendarConverter()
|
||||||
@ -150,5 +151,6 @@ class TestCalendarConverter(unittest.TestCase):
|
|||||||
self.assertEqual(event['created'], '2018-03-20T07:11:55.000001Z')
|
self.assertEqual(event['created'], '2018-03-20T07:11:55.000001Z')
|
||||||
self.assertEqual(event['updated'], '2018-03-26T12:02:35.000001Z')
|
self.assertEqual(event['updated'], '2018-03-26T12:02:35.000001Z')
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
@ -1,5 +1,6 @@
|
|||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
|
|
||||||
class TestImports(unittest.TestCase):
|
class TestImports(unittest.TestCase):
|
||||||
def test_imports(self):
|
def test_imports(self):
|
||||||
from gcal_sync import (
|
from gcal_sync import (
|
||||||
@ -10,5 +11,6 @@ class TestImports(unittest.TestCase):
|
|||||||
CalendarSync
|
CalendarSync
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
Loading…
x
Reference in New Issue
Block a user