예제 #1
0
 def test_title_with_sitename_implementation(self):
     feed = ZinniaFeed()
     self.assertRaises(NotImplementedError, feed.title)
     feed = LatestEntries()
     self.assertEquals(feed.title(), 'example.com - Latest entries')
예제 #2
0
 def test_title_with_sitename_implementation(self):
     feed = ZinniaFeed()
     self.assertRaises(NotImplementedError, feed.title)
     feed = LatestEntries()
     self.assertEquals(feed.title(), 'example.com - Latest entries')