File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/plugins/github/plugins/config
tests/github/config/process Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ async def validate_info_from_issue(handler: IssueHandler) -> ValidationDict:
59
59
test_result = await test .run ("3.12" )
60
60
61
61
# 去除颜色字符
62
- test_output = strip_ansi (" \n " . join ( test_result .outputs ) )
62
+ test_output = strip_ansi (test_result .output )
63
63
metadata = test_result .metadata
64
64
if metadata :
65
65
# 从插件测试结果中获得元数据
@@ -78,8 +78,7 @@ async def validate_info_from_issue(handler: IssueHandler) -> ValidationDict:
78
78
)
79
79
logger .info (f"插件元数据:{ metadata } " )
80
80
logger .info ("插件测试输出:" )
81
- for output in test_result .outputs :
82
- logger .info (output )
81
+ logger .info (test_output )
83
82
84
83
# 验证插件相关信息
85
84
result = validate_info (PublishType .PLUGIN , raw_data , previous_data )
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ async def test_process_config_check(
76
76
)
77
77
mock_test_result .load = True
78
78
mock_test_result .version = "1.0.0"
79
+ mock_test_result .output = ""
79
80
mock_docker = mocker .patch ("src.providers.docker_test.DockerPluginTest.run" )
80
81
mock_docker .return_value = mock_test_result
81
82
You can’t perform that action at this time.
0 commit comments