telco_server/common/file_store/obs_test.go

16 lines
229 B
Go
Raw Normal View History

2025-03-13 07:49:59 +00:00
package file_store
import (
"testing"
)
func TestOBSUpload(t *testing.T) {
e := OXS{"", "", "", ""}
var oxs = e.Setup(HuaweiOBS)
err := oxs.UpLoad("test.png", "./test.png")
if err != nil {
t.Error(err)
}
t.Log("ok")
}