MCPcopy
hub / github.com/vouch/vouch-proxy / setUp

Function setUp

pkg/cfg/cfg_test.go:23–26  ·  view source on GitHub ↗
(configFile string)

Source from the content-addressed store, hash-verified

21)
22
23func setUp(configFile string) {
24 os.Setenv("VOUCH_CONFIG", filepath.Join(os.Getenv("VOUCH_ROOT"), configFile))
25 InitForTestPurposes()
26}
27
28func TestConfigParsing(t *testing.T) {
29 InitForTestPurposes()

Callers 4

Test_checkCallbackConfigFunction · 0.70
TestConfigEnvPrecedenceFunction · 0.70
TestCheckConfigWithRSAFunction · 0.70

Calls 1

InitForTestPurposesFunction · 0.85

Tested by

no test coverage detected