コード例 #1
0
 def __init__(self, config, result_dir_ts):
     self.logger = logging.getLogger('browbeat.shaker')
     self.overcloudrc = get_overcloudrc()
     self.config = config
     self.result_dir_ts = result_dir_ts
     self.tools = tools.Tools(self.config)
     self.grafana = grafana.Grafana(self.config)
     self.elastic = elastic.Elastic(self.config, self.__class__.__name__.lower())
コード例 #2
0
ファイル: shaker.py プロジェクト: yarda7/browbeat
 def __init__(self, config):
     self.logger = logging.getLogger('browbeat.shaker')
     self.overcloudrc = get_overcloudrc()
     self.config = config
     self.tools = tools.Tools(self.config)
     self.grafana = grafana.Grafana(self.config)
     self.elastic = elastic.Elastic(self.config,
                                    self.__class__.__name__.lower())
     self.error_count = 0
     self.pass_count = 0
     self.test_count = 0
     self.scenario_count = 0