Пример #1
0
 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
Пример #2
0
 def testFeedWithMissingEntryLinks(self):
     """Feed items with entry.links missing can be parsed."""
     w = Weblog('test', 'testy', self.url, self.rss_url)
     w.parse()