# -*- coding:utf-8 _*-
import os,time

base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))  # 项目根路径
# print(base_dir)

configs_dir = os.path.join(base_dir, 'configs')  # configs文件夹路径
# print(configs_dir)

datas_dir = os.path.join(base_dir, 'datas')  # datas文件夹路径
case_file = os.path.join(datas_dir, 'cases.xlsx')
# print(datas_dir)

reports_dir = os.path.join(base_dir, 'reports')  # reports文件夹路径
now = time.strftime("%Y-%m-%d-%H_%M_%S")
report_name = reports_dir + '/report_' + now + '.html'
reports_html = os.path.join(reports_dir,report_name)
# print(reports_html)

logs_dir = os.path.join(base_dir, 'logs')  # logs文件夹路径
logs_file = os.path.join(logs_dir, 'logs.log')  # logs文件夹路径
error_file = os.path.join(logs_dir, 'error.log')  # logs文件夹路径
# print(logs_dir)

testcases_dir = os.path.join(base_dir, 'testcases')  # logs文件夹路径
