MCPcopy Create free account
hub / github.com/cloudbase/garm / TestConfig

Function TestConfig

config/config_test.go:120–125  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

118}
119
120func TestConfig(t *testing.T) {
121 cfg := getDefaultConfig(t)
122
123 err := cfg.Validate()
124 require.Nil(t, err)
125}
126
127func TestDefaultSectionConfig(t *testing.T) {
128 dir, err := os.MkdirTemp("", "garm-config-test")

Callers

nothing calls this directly

Calls 2

getDefaultConfigFunction · 0.85
ValidateMethod · 0.45

Tested by

no test coverage detected