Exemple #1
0
 def __init__(self, codename):
     """
     The class constructor
     """
     self.plugin = plugin_pool.get_plugin(codename)
 def raises():
     """
     Raises exception
     """
     plugin_pool.get_plugin('non_existant_plugin')
 def setUp(self):
     self.plugin = plugin_pool.get_plugin('django')
     self.request = HttpRequest()
 def test_get_plugin(self):
     assert plugin_pool.get_plugin('django').__class__ is DjangoCommentPlugin