api_config.py
作者:互联网
#!/user/bin/python3
# -*- coding: utf-8 -*-
# @Time : 2020/7/2 20:11
# @Author :Test_zhangping
# @Email :981874735@qq.com
# @File :api_config.py
import os
# 配置路径 使用系统路径
zp_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# 测试用例路径
case_dir = os.path.join(zp_dir, "Test_Cases")
# 测试数据的路径
data_dir = os.path.join(zp_dir,"Test_Datas")
# 测试报告
reports_dir = os.path.join(zp_dir,"Outputs\\reports")
# 日志路径
log_dir = os.path.join(zp_dir,"Outputs\\logs")
# 配置文件路径
conf_dir = os.path.join(zp_dir,"Conf")
标签:路径,join,config,py,zp,api,path,os,dir 来源: https://www.cnblogs.com/zhang-ping1205/p/13226927.html