def rootChildConfigPath(self): # 从主配置文件中获取子配置文件路径 conf2 = Config("ConfigKIDs") # 获取子文件路径 confFile = conf2.get_configPath("new_cms_configs") return confFile
def setUp(self): conf1 = Config("YamlFile") confFile = conf1.get_configPath("borkeryaml") brokeryaml = SystemOs().sys_path(confFile) data = yamlUtil(brokeryaml).get_yalm() # print(data) self.driver = Capability(data).app_driver()
def apis_yaml(self): conf = Config("ConfigApi") api_path = conf.get_configPath("public_data") api_yaml = SystemOs().sys_path(api_path) report = yamlUtil(api_yaml).get_yalm() report_path = SystemOs().sys_path(report['report']) test_path = SystemOs().sys_path(report['test_path']) # 0 报告地址 , 1 测试数据集地址 return report_path, test_path
def rootChildConfigPath(self): # 从主配置文件中获取子配置文件路径 conf2 = Config("ConfigKIDs") # 获取子文件路径 confFile = conf2.get_configPath("markerting_points_configs") return confFile
def rootChildConfigPath(self): config2 = Config("ConfigKIDs") confFile = config2.get_configPath("new_cms_configs") return confFile