def test_title(self):
     self.assertEqual(catalog.title(self.comment)(), 'Jim on Document 1')
     self.assertTrue(isinstance(catalog.title, DelegatingIndexerFactory))
Пример #2
0
 def test_title(self):
     self.assertEqual(catalog.title(self.comment)(), 'Jim on Document 1')
     self.assertTrue(isinstance(catalog.title, DelegatingIndexerFactory))