mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
RSS: Fix nondeterministic test failure
This commit is contained in:
parent
758f9bee34
commit
b8852eb9f3
@ -191,7 +191,10 @@ class RSSTestCase(ChannelPluginTestCase):
|
|||||||
self.assertNotError('rss add xkcd http://xkcd.com/rss.xml')
|
self.assertNotError('rss add xkcd http://xkcd.com/rss.xml')
|
||||||
self.assertNotError('rss announce add buggy')
|
self.assertNotError('rss announce add buggy')
|
||||||
self.assertNotError('rss announce add xkcd')
|
self.assertNotError('rss announce add xkcd')
|
||||||
self.assertNotError(' ')
|
try:
|
||||||
|
self.assertNotError(' ', timeout=0.1)
|
||||||
|
except TimeoutError:
|
||||||
|
pass
|
||||||
with conf.supybot.plugins.RSS.sortFeedItems.context('oldestFirst'):
|
with conf.supybot.plugins.RSS.sortFeedItems.context('oldestFirst'):
|
||||||
with conf.supybot.plugins.RSS.waitPeriod.context(1):
|
with conf.supybot.plugins.RSS.waitPeriod.context(1):
|
||||||
timeFastForward(1.1)
|
timeFastForward(1.1)
|
||||||
|
Loading…
Reference in New Issue
Block a user