mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 02:24:12 +01:00
plugins/RSS/test.py: Remove a comment that doesn't apply anymore and add a test for another encoding problem.
This commit is contained in:
parent
880cce5505
commit
53e88a67c2
@ -45,9 +45,6 @@ class RSSTestCase(ChannelPluginTestCase):
|
|||||||
def testRssinfo(self):
|
def testRssinfo(self):
|
||||||
self.assertNotError('rss info %s' % url)
|
self.assertNotError('rss info %s' % url)
|
||||||
self.assertNotError('rss add advogato %s' % url)
|
self.assertNotError('rss add advogato %s' % url)
|
||||||
# For some reason conf.supybot.plugins.RSS.feeds.advogato is
|
|
||||||
# empty, which is why this test is failing. Works in practice,
|
|
||||||
# but not here. :(
|
|
||||||
self.assertNotError('rss info advogato')
|
self.assertNotError('rss info advogato')
|
||||||
self.assertNotError('rss info AdVogATo')
|
self.assertNotError('rss info AdVogATo')
|
||||||
self.assertNotError('rss remove advogato')
|
self.assertNotError('rss remove advogato')
|
||||||
@ -78,6 +75,7 @@ class RSSTestCase(ChannelPluginTestCase):
|
|||||||
def testNonAsciiFeeds(self):
|
def testNonAsciiFeeds(self):
|
||||||
self.assertNotError('rss http://www.heise.de/newsticker/heise.rdf')
|
self.assertNotError('rss http://www.heise.de/newsticker/heise.rdf')
|
||||||
self.assertNotError('rss http://www.golem.de/rss.php?feed=ATOM0.3')
|
self.assertNotError('rss http://www.golem.de/rss.php?feed=ATOM0.3')
|
||||||
|
self.assertNotError('rss info http://br-linux.org/main/index.xml')
|
||||||
|
|
||||||
|
|
||||||
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79:
|
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79:
|
||||||
|
Loading…
Reference in New Issue
Block a user