Exemplo n.º 1
0
 def setUp(self):
     self.obj = ShellExecutor()
     self.obj.parameters = BetterDict()
     self.obj.engine = EngineEmul()
     self.obj.engine.config.merge({"provisioning": "local"})
     self.log_recorder = RecordingHandler()
     self.obj.log.addHandler(self.log_recorder)
Exemplo n.º 2
0
 def setUp(self):
     super(TaskTestCase, self).setUp()
     self.obj = ShellExecutor()
     self.obj.parameters = BetterDict()
     self.obj.engine = EngineEmul()
     self.obj.engine.config.merge({"provisioning": "local"})
     self.obj.engine.default_cwd = os.getcwd()
     self.sniff_log(self.obj.log)
 def setUp(self):
     super(TaskTestCase, self).setUp()
     self.obj = ShellExecutor()
     self.obj.parameters = BetterDict()
     self.obj.engine = EngineEmul()
     self.obj.engine.config.merge({
         "provisioning": "local",
         "modules": {
             "local": {"class": "bzt.modules.provisioning.Local"},
             "cloud": {"class": "bzt.modules.blazemeter.CloudProvisioning"},
         }})
     self.obj.engine.default_cwd = os.getcwd()
     self.sniff_log(self.obj.log)
Exemplo n.º 4
0
 def setUp(self):
     self.obj = ShellExecutor()
     self.obj.parameters = BetterDict()
     self.obj.engine = EngineEmul()
     self.log_recorder = RecordingHandler()
     self.obj.log.addHandler(self.log_recorder)