Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
U
ubains-module-test
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
郑晓兵
ubains-module-test
Commits
9bd284ae
提交
9bd284ae
authored
12月 27, 2024
作者:
陈泽健
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
调整优化
上级
e985691a
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
3 行增加
和
7 行删除
+3
-7
base.py
预定系统/Base/base.py
+2
-2
桌牌系统巡检.cpython-310.pyc
预定系统/cases/展厅巡检/07桌牌系统/__pycache__/桌牌系统巡检.cpython-310.pyc
+0
-0
定时执行功能测试.py
预定系统/定时执行功能测试.py
+1
-5
没有找到文件。
预定系统/Base/base.py
浏览文件 @
9bd284ae
...
...
@@ -734,7 +734,7 @@ def fetch_and_parse_check_txt(url, save_path, extract_info):
# 检测文件编码
detected_encoding
=
chardet
.
detect
(
response
.
content
)[
'encoding'
]
print
(
f
"检测到的编码: {detected_encoding}"
)
logging
.
info
(
f
"检测到的编码: {detected_encoding}"
)
# 如果检测到的编码为空或不准确,可以手动指定编码
if
not
detected_encoding
or
detected_encoding
==
'ascii'
:
...
...
@@ -760,5 +760,5 @@ def fetch_and_parse_check_txt(url, save_path, extract_info):
return
parsed_info
except
requests
.
exceptions
.
RequestException
as
e
:
print
(
f
"请求错误: {e}"
)
logging
.
exception
(
f
"请求错误: {e}"
)
return
None
预定系统/cases/展厅巡检/07桌牌系统/__pycache__/桌牌系统巡检.cpython-310.pyc
浏览文件 @
9bd284ae
No preview for this file type
预定系统/定时执行功能测试.py
浏览文件 @
9bd284ae
...
...
@@ -70,11 +70,7 @@ start_workers(3)
# 每天早上07:50执行后台系统设置功能测试
schedule
.
every
()
.
day
.
at
(
"10:00"
)
.
do
(
run_task
,
run_automation_test
,
report_title
=
"预定系统_后台管理功能_测试报告"
,
report_url_prefix
=
"http://nat.ubainsyun.com:31133"
,
test_case
=
"预定系统功能"
,
ding_type
=
"标准版巡检"
)
schedule
.
every
()
.
monday
.
at
(
"08:05"
)
.
do
(
run_task
,
run_automation_test
,
report_title
=
"展厅巡检测试报告"
,
report_url_prefix
=
"http://nat.ubainsyun.com:31133"
,
test_case
=
"展厅巡检"
,
ding_type
=
"展厅巡检"
)
schedule
.
every
()
.
tuesday
.
at
(
"08:05"
)
.
do
(
run_task
,
run_automation_test
,
report_title
=
"展厅巡检测试报告"
,
report_url_prefix
=
"http://nat.ubainsyun.com:31133"
,
test_case
=
"展厅巡检"
,
ding_type
=
"展厅巡检"
)
schedule
.
every
()
.
wednesday
.
at
(
"08:05"
)
.
do
(
run_task
,
run_automation_test
,
report_title
=
"展厅巡检测试报告"
,
report_url_prefix
=
"http://nat.ubainsyun.com:31133"
,
test_case
=
"展厅巡检"
,
ding_type
=
"展厅巡检"
)
schedule
.
every
()
.
thursday
.
at
(
"08:05"
)
.
do
(
run_task
,
run_automation_test
,
report_title
=
"展厅巡检测试报告"
,
report_url_prefix
=
"http://nat.ubainsyun.com:31133"
,
test_case
=
"展厅巡检"
,
ding_type
=
"展厅巡检"
)
schedule
.
every
()
.
friday
.
at
(
"08:05"
)
.
do
(
run_task
,
run_automation_test
,
report_title
=
"展厅巡检测试报告"
,
report_url_prefix
=
"http://nat.ubainsyun.com:31133"
,
test_case
=
"展厅巡检"
,
ding_type
=
"展厅巡检"
)
schedule
.
every
()
.
day
.
at
(
"08:05"
)
.
do
(
run_task
,
run_automation_test
,
report_title
=
"展厅巡检测试报告"
,
report_url_prefix
=
"http://nat.ubainsyun.com:31133"
,
test_case
=
"展厅巡检"
,
ding_type
=
"展厅巡检"
)
# schedule.every().day.at("08:25").do(run_task, run_automation_test, report_title="展厅巡检_腾讯终端入会测试报告", report_url_prefix="http://nat.ubainsyun.com:31133", test_case="展厅巡检_腾讯会议")
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论