Ticket #1028: feedtest_patch.diff
File feedtest_patch.diff, 740 bytes (added by , 16 years ago) |
---|
-
tests/regressiontests/syndication/tests.py
33 33 chan_elem = feed.getElementsByTagName('channel') 34 34 self.assertEqual(len(chan_elem), 1) 35 35 chan = chan_elem[0] 36 self.assertChildNodes(chan, ['title', 'link', 'description', 'language', 'lastBuildDate', 'item' ])36 self.assertChildNodes(chan, ['title', 'link', 'description', 'language', 'lastBuildDate', 'item', 'generator']) 37 37 38 38 items = chan.getElementsByTagName('item') 39 39 self.assertEqual(len(items), Entry.objects.count())