Exemple #1
0
 def test_without_title(self):
     context = rss.make_feed_context(self.app, None, [])
     self.assertEqual('faux project', context['title'])
Exemple #2
0
 def test_without_title(self):
     context = rss.make_feed_context(self.app, None, [])
     self.assertEqual('faux project', context['title'])
Exemple #3
0
 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'])
Exemple #4
0
 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'])