From b8852eb9f38eed53e29e953d7b923395f41da99d Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 28 May 2021 19:15:56 +0200 Subject: [PATCH] RSS: Fix nondeterministic test failure --- plugins/RSS/test.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/RSS/test.py b/plugins/RSS/test.py index 5362e393e..f0aaea345 100644 --- a/plugins/RSS/test.py +++ b/plugins/RSS/test.py @@ -191,7 +191,10 @@ class RSSTestCase(ChannelPluginTestCase): self.assertNotError('rss add xkcd http://xkcd.com/rss.xml') self.assertNotError('rss announce add buggy') 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.waitPeriod.context(1): timeFastForward(1.1)