feat: 添加JoyHub运费模板和Banner管理接口用例
This commit is contained in:
14
extract_allure.py
Normal file
14
extract_allure.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import zipfile
|
||||
import os
|
||||
|
||||
# 解压Allure压缩包
|
||||
zip_path = r'C:\Users\a\PyCharmMiscProject\smart-management-auto-test\allure.zip'
|
||||
extract_path = r'C:\Users\a\PyCharmMiscProject\smart-management-auto-test\allure'
|
||||
|
||||
try:
|
||||
with zipfile.ZipFile(zip_path, 'r') as zip_ref:
|
||||
zip_ref.extractall(extract_path)
|
||||
print("Allure解压成功")
|
||||
except Exception as e:
|
||||
print(f"解压失败: {e}")
|
||||
Reference in New Issue
Block a user