def testIsNotAtom(self): """A non-Atom feed can be detected.""" w = Weblog('test', 'testy', self.url, self.rss_url) w.parse() w.normalize() for entry in w.entries: entry.normalize() assert w.atom == False
def testFeedWithMissingEntryLinks(self): """Feed items with entry.links missing can be parsed.""" w = Weblog('test', 'testy', self.url, self.rss_url) w.parse()