RSS: Fix test broken by 2caade8f.

This commit is contained in:
Valentin Lorentz 2014-07-31 20:12:37 +02:00
parent ddf7ec9baa
commit 809a34a9ad

View File

@ -103,7 +103,7 @@ class RSSTestCase(ChannelPluginTestCase):
def testRss(self): def testRss(self):
self.assertNotError('rss %s' % url) self.assertNotError('rss %s' % url)
m = self.assertNotError('rss %s 2' % url) m = self.assertNotError('rss %s 2' % url)
self.failUnless(m.args[1].count('||') == 1) self.failUnless(m.args[1].count(' | ') == 1)
def testRssAdd(self): def testRssAdd(self):
self.assertNotError('rss add advogato %s' % url) self.assertNotError('rss add advogato %s' % url)