mirror of
https://github.com/allinssl/allinssl.git
synced 2025-12-18 10:04:01 +08:00
【新增】增加API接口测试功能接口 为部分供应商API增加测试功能
This commit is contained in:
12
backend/internal/cert/deploy/tencentcloud_test.go
Normal file
12
backend/internal/cert/deploy/tencentcloud_test.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package deploy
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestTencentCloudAPITest(t *testing.T) {
|
||||
result := TencentCloudAPITest("9")
|
||||
if result != nil {
|
||||
t.Fatalf("SSHAPITest failed: %v", result)
|
||||
} else {
|
||||
t.Log("SSHAPITest success")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user