摘要: """@Name: config.py@Author: zengchuanyin@Date 2023/9/14-0:2 0"""import osimport yamlproject_path = os.path.split(os.path.abspath(__file__))PRO_DIR = p 阅读全文
posted @ 2024-04-30 18:12 遇事不决,量子力学 阅读(8) 评论(0) 推荐(0) 编辑
摘要: """@Name: data_conf.py@Author: zengchuanyin@Date 2023/6/11-16:19"""import yamlconf_path = "conf_env.yml"def get_data_from_yml(): with open('conf_env.y 阅读全文
posted @ 2024-04-30 18:11 遇事不决,量子力学 阅读(6) 评论(0) 推荐(0) 编辑
摘要: """@Name: test_django_service_01.py@Author: zengchuanyin@Date 2024/2/25-10:56"""import pytestimport loggingimport jsonfrom config import get_env_msgfr 阅读全文
posted @ 2024-04-30 18:11 遇事不决,量子力学 阅读(5) 评论(0) 推荐(0) 编辑
摘要: class ServiceBase(object): def __init__(self, host, vpath, headers: dict = None): self.host = host self.vpath = vpath self.headers = headers def befor 阅读全文
posted @ 2024-04-30 18:10 遇事不决,量子力学 阅读(8) 评论(0) 推荐(0) 编辑