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