diff --git a/inkycal/tests/inkycal_agenda_test.py b/inkycal/tests/inkycal_agenda_test.py index 54e8c81..d7353f3 100644 --- a/inkycal/tests/inkycal_agenda_test.py +++ b/inkycal/tests/inkycal_agenda_test.py @@ -5,13 +5,18 @@ agenda = Agenda( #size (400,400), - # config + # common config { + 'language': 'en', + 'units': 'metric', + 'hours': 24, + # module-specific config 'week_starts_on': 'Monday', 'ical_urls': ['https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics'] } ) + class inkycal_agenda_test(unittest.TestCase): def test_generate_image(self): print('testing image generation') diff --git a/inkycal/tests/inkycal_calendar_test.py b/inkycal/tests/inkycal_calendar_test.py index 4a354d2..a7fb273 100644 --- a/inkycal/tests/inkycal_calendar_test.py +++ b/inkycal/tests/inkycal_calendar_test.py @@ -5,8 +5,12 @@ calendar = Calendar( #size (400,400), - # config + # common config { + 'language': 'en', + 'units': 'metric', + 'hours': 24, + # module-specific config 'week_starts_on': 'Monday', 'ical_urls': ['https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics'] } diff --git a/inkycal/tests/inkycal_rss_test.py b/inkycal/tests/inkycal_rss_test.py index 53ca1ce..5905fe5 100644 --- a/inkycal/tests/inkycal_rss_test.py +++ b/inkycal/tests/inkycal_rss_test.py @@ -5,9 +5,13 @@ rss = RSS( #size (400,400), - # config + # common onfig { - 'rss_urls': ['http://feeds.bbci.co.uk/news/world/rss.xml#'] + 'language': 'en', + 'units': 'metric', + 'hours': 24, + # module-specific config + 'rss_urls': ['http://feeds.bbci.co.uk/news/world/rss.xml#'] } )