Files
ProjectOctopus/agent-go/executor/ImageFunction_test.go
2024-03-28 15:15:47 +08:00

25 lines
368 B
Go

package executor
import (
"fmt"
"strconv"
"testing"
"wdd.io/agent-common/utils"
)
func TestAgentOsOperator_Sync(t *testing.T) {
funcArgs := []string{
"",
"",
"",
"",
"",
"",
"",
}
sync, strings := agentOP.Sync("DOWNLOAD_DOCKER_IMAGE", funcArgs...)
fmt.Println("func result are => " + strconv.FormatBool(sync))
utils.BeautifulPrint(strings)
}