# -*-coding:utf-8 -*- #
# ---------------------------------------------------------------------------
# ProjectName:   test_58
# FileName:      __init__.py
# Author:       xxxxxxx
# Datetime:     2024/1/4 11:14
# Description:
# 
# ---------------------------------------------------------------------------
import os

# ========需要测试人员设置=====================================
# 设置数据存放的目录名称
data_dir_name = "template"
# 获取excel文件、用例数据文件、期望数据文件、sql语句文件的路径，还需指名工作表的名称
excel_name = "APIAutoTest.xlsx"
case_data_name = "case_data.json"
expect_data_name = "expect_data.json"
sql_data_name = "sql_data.json"
table_name = "BPM"

# =========禁止更改===========================================
# 获取数据存放的目录的路径
data_dir_path = os.path.join(os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))), "data_config"), data_dir_name)
# 获取excel文件、用例数据文件、期望数据文件、sql语句文件的路径，还需指名工作表的路径
excel_path = os.path.join(data_dir_path, excel_name)
case_data_path = os.path.join(data_dir_path, case_data_name)
expect_data_path = os.path.join(data_dir_path, expect_data_name)
sql_data_path = os.path.join(data_dir_path, sql_data_name)

