Пример #1
0
 def setUpClass(cls):
     transporter_args = {"class": transporter.Transporter}
     cls.__main_plugin = haplib.BaseMainPlugin()
     cls.__main_plugin.setup(transporter_args)
Пример #2
0
 def create_main_plugin(self, *args, **kwargs):
     self.__main_plugin = haplib.BaseMainPlugin(*args, **kwargs)
     return self.__main_plugin