23 lines
357 B
Python
23 lines
357 B
Python
|
import unittest
|
||
|
from inkycal.modules import RSS
|
||
|
|
||
|
rss = RSS(
|
||
|
#size
|
||
|
(400,400),
|
||
|
|
||
|
# config
|
||
|
{
|
||
|
'rss_urls': ['http://feeds.bbci.co.uk/news/world/rss.xml#']
|
||
|
}
|
||
|
|
||
|
)
|
||
|
|
||
|
class inkycal_rss_test(unittest.TestCase):
|
||
|
def test_generate_image(self):
|
||
|
print('testing image generation')
|
||
|
rss.generate_image()
|
||
|
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
unittest.main()
|