def test_without_title(self): context = rss.make_feed_context(self.app, None, []) self.assertEqual('faux project', context['title'])
def test_with_title(self): context = rss.make_feed_context(self.app, 'title here', []) self.assertTrue('faux project' in context['title']) self.assertTrue('title here' in context['title'])