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