def setUp(self):
     self.webhook = WebHook()
     self.settingObj = Settings()
     self.base_dir = self.settingObj.getCliDir()
     self.configs_dir = self.base_dir + "/tests/configs"
     self.components_dir = self.base_dir + '/tests/components/dev'
     with open(self.configs_dir + '/roger-mesos-tools.config') as roger:
         roger_env = yaml.load(roger)
     self.roger_env = roger_env
Beispiel #2
0
 def __init__(self):
     self.utils = Utils()
     self.whobj = WebHook()
     self.config_file = ""
Beispiel #3
0
 def __init__(self):
     self.utils = Utils()
     self.whobj = WebHook()
     self.statsd_message_list = []
     self.config_file = ""