products/CPSRSS

changeset 233:b1836f263b12

Removed misleading explicit refresh in tests
author Georges Racinet on purity.racinet.fr <georges@racinet.fr>
date Sun, 05 Dec 2010 01:50:50 +0100
parents 8b941a0115c5
children 483df375f3a1
files tests/testRSS.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/tests/testRSS.py
     1.2 +++ b/tests/testRSS.py
     1.3 @@ -35,7 +35,6 @@
     1.4  
     1.5          rss_tool.manage_addRSSChannel('channel', get_feed_url('zope.rss'))
     1.6          self.assertEquals(rss_tool.objectIds(), ['channel'])
     1.7 -        rss_tool.refresh()
     1.8          d = rss_tool.channel.getData()
     1.9          self.assertEquals(d['url'], 'http://zope.org')
    1.10          self.assertEquals(d['title'], 'Zope.org')
    1.11 @@ -48,7 +47,6 @@
    1.12          container = self.localContainer()
    1.13          container.manage_addRSSChannel('channel', get_feed_url('zope.rss'))
    1.14          self.assertEquals(container.objectIds(), ['channel'])
    1.15 -        rss_tool.refresh()
    1.16          d = container.channel.getData()
    1.17          self.assertEquals(d['url'], 'http://zope.org')
    1.18          self.assertEquals(d['title'], 'Zope.org')