摘要: 1. common中存放配置文件config.yaml 公共类配置 config.yaml - ProjectName - Env - TesterName - host - headers - NotificationType - DingTalk - MySqlDB - mirror_sourc 阅读全文
posted @ 2022-05-24 14:58 语墨白 阅读(57) 评论(0) 推荐(0)
摘要: 需求功能 1. 只需在common中新增yaml文件,自动生成相对于的配置代码 分析 1. common中新增唯一命名的yaml文件 2. setting.py中配置路径 1 config_path = os.path.join(root_path, 'common' + _SLASH + 'con 阅读全文
posted @ 2022-05-24 14:46 语墨白 阅读(39) 评论(0) 推荐(0)