MCPcopy Create free account
hub / github.com/0xUnixIO/pulse / TestRunCLI_RequiresInsecure

Function TestRunCLI_RequiresInsecure

internal/nodeenroll/cmd_test.go:45–54  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

43}
44
45func TestRunCLI_RequiresInsecure(t *testing.T) {
46 err := RunCLI([]string{
47 "--server", "https://x",
48 "--node-id", "n",
49 "--token", "t",
50 })
51 if err == nil || !strings.Contains(err.Error(), "--insecure") {
52 t.Fatalf("err = %v", err)
53 }
54}
55
56func TestRunCLI_FingerprintNotImplemented(t *testing.T) {
57 err := RunCLI([]string{

Callers

nothing calls this directly

Calls 2

RunCLIFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected