pytest_allure_request_20220811/common/all_path.py

25 lines
964 B
Python
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# _*_coding:utf-8 _*_
# @Time  :2021/6/19 22:50
# @Author : mojin
# @Email : 397135766@qq.com
# @File   :all_path.py
# @Software :PyCharm
import os
base_path = os.path.dirname(os.path.dirname(__file__))
appPath = os.path.join(base_path, 'app')
dataPath = os.path.join(base_path, 'data')
configPath = os.path.join(base_path, 'config')
logPath = os.path.join(base_path, 'logs')
picturePath = os.path.join(base_path, 'png')
reportsPath = os.path.join(base_path, 'target', 'allure-report')
screenPath = os.path.join(base_path, 'screencap')
targetPath=os.path.join(base_path, 'target')
#Start_server_bat=os.path.join(base_path, 'config',"Start_server.bat")
Start_server_bat=os.path.join(base_path, 'config',"fileServices.exe")
images_Path=os.path.join(base_path, 'config',"png") #./config/png
environmentPath=os.path.join(base_path, 'config',"environment.properties")
allure_results = os.path.join(targetPath, 'allure-results','environment.properties')