Beispiel #1
0
 def test_cray(self):
 	url = "http://api.feedzilla.com/v1/categories/16/articles.atom?count=10"
     feed = Feed('data/2014-04-05_16-54.atom')
     feed.add_feed(url)
     self.assertEqual(len(feed.articles),99)
Beispiel #2
0
 def test_duplicate_articles(self):
     feed = Feed('data/2014-04-05_16-54.atom')
     feed.add_feed('data/2014-04-05_16-54.atom')
     self.assertEqual(len(feed.articles),89)