From 6722a856d8114c8e1e0c54efe925a1561ad9f5f6 Mon Sep 17 00:00:00 2001 From: James Vega Date: Mon, 1 May 2006 17:49:37 +0000 Subject: [PATCH] plugins/RSS/test.py: A missing step in testAnnounce was causing other tests to unexpectedly fail. --- plugins/RSS/test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/RSS/test.py b/plugins/RSS/test.py index c5001b513..13c948add 100644 --- a/plugins/RSS/test.py +++ b/plugins/RSS/test.py @@ -31,7 +31,7 @@ from supybot.test import * url = 'http://www.advogato.org/rss/articles.xml' class RSSTestCase(ChannelPluginTestCase): - plugins = ('RSS',) + plugins = ('RSS','Plugin') def testRssAddBadName(self): self.assertError('rss add "foo bar" %s' % url) @@ -57,6 +57,7 @@ class RSSTestCase(ChannelPluginTestCase): self.assertNotError('rss add advogato %s' % url) self.assertNotError('rss announce advogato') self.assertNotRegexp('rss announce', r'ValueError') + self.assertNotError('rss announce --remove advogato') self.assertNotError('rss remove advogato') def testRss(self): @@ -69,6 +70,7 @@ class RSSTestCase(ChannelPluginTestCase): self.assertNotError('advogato') self.assertNotError('rss advogato') self.assertNotError('rss remove advogato') + self.assertNotRegexp('list RSS', 'advogato') self.assertError('advogato') self.assertError('rss advogato')