Exemple #1
0
 def __init__(self, karte, testerItems, visitorClass=None):
     self.__karte = karte
     if visitorClass:
         self.__visitor = visitorClass()
     else:
         self.__visitor = medic.Visitor()
     self.__tester_items = testerItems
Exemple #2
0
 def process(self, context):
     plugin_manager = medic.PluginManager()
     for k in plugin_manager.karteNames():
         instance = context.create_instance("Medic/%s" % (k),
                                            family="karte")
         instance.data["karte"] = plugin_manager.karte(k)
         instance.data["visitor"] = medic.Visitor()
         instance.data["families"] = [k]
Exemple #3
0
 def __init__(self, karte, testerItems):
     self.__karte = karte
     self.__visitor = medic.Visitor()
     self.__tester_items = testerItems