fix tests
This commit is contained in:
parent
8e09731c13
commit
0720fd173b
@ -5,13 +5,18 @@ agenda = Agenda(
|
|||||||
#size
|
#size
|
||||||
(400,400),
|
(400,400),
|
||||||
|
|
||||||
# config
|
# common config
|
||||||
{
|
{
|
||||||
|
'language': 'en',
|
||||||
|
'units': 'metric',
|
||||||
|
'hours': 24,
|
||||||
|
# module-specific config
|
||||||
'week_starts_on': 'Monday',
|
'week_starts_on': 'Monday',
|
||||||
'ical_urls': ['https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics']
|
'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):
|
class inkycal_agenda_test(unittest.TestCase):
|
||||||
def test_generate_image(self):
|
def test_generate_image(self):
|
||||||
print('testing image generation')
|
print('testing image generation')
|
||||||
|
@ -5,8 +5,12 @@ calendar = Calendar(
|
|||||||
#size
|
#size
|
||||||
(400,400),
|
(400,400),
|
||||||
|
|
||||||
# config
|
# common config
|
||||||
{
|
{
|
||||||
|
'language': 'en',
|
||||||
|
'units': 'metric',
|
||||||
|
'hours': 24,
|
||||||
|
# module-specific config
|
||||||
'week_starts_on': 'Monday',
|
'week_starts_on': 'Monday',
|
||||||
'ical_urls': ['https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics']
|
'ical_urls': ['https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics']
|
||||||
}
|
}
|
||||||
|
@ -5,9 +5,13 @@ rss = RSS(
|
|||||||
#size
|
#size
|
||||||
(400,400),
|
(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#']
|
||||||
}
|
}
|
||||||
|
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user