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