Inkycal/inkycal/tests/inkycal_agenda_test.py

23 lines
462 B
Python
Raw Normal View History

2020-05-29 03:58:48 +02:00
import unittest
2020-06-10 15:12:44 +02:00
from inkycal.modules import Agenda
2020-05-29 03:58:48 +02:00
2020-06-10 15:12:44 +02:00
agenda = Agenda(
#size
(400,400),
# config
{
'week_starts_on': 'Monday',
'ical_urls': ['https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics']
}
)
2020-05-29 03:58:48 +02:00
class inkycal_agenda_test(unittest.TestCase):
2020-06-10 15:12:44 +02:00
def test_generate_image(self):
print('testing image generation')
agenda.generate_image()
2020-05-29 03:58:48 +02:00
if __name__ == '__main__':
unittest.main()