Ticket #1028: feedtest_patch.diff

File feedtest_patch.diff, 740 bytes (added by Eric Abrahamsen, 16 years ago)
  • tests/regressiontests/syndication/tests.py

     
    3333        chan_elem = feed.getElementsByTagName('channel')
    3434        self.assertEqual(len(chan_elem), 1)
    3535        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'])
    3737   
    3838        items = chan.getElementsByTagName('item')
    3939        self.assertEqual(len(items), Entry.objects.count())
Back to Top