INNER CODE UNIT · Go
TestInitError
go-chassis/go-chassis · chassis_api_test.go:146
func TestInitError(t *testing.T) {
t.Log("Testing chassis Init function for errors")
p := filepath.Join(os.Getenv("GOPATH"), "src", "github.com", "go-chassis", "go-chassis", "examples", "communication/client")
os.Setenv("CHASSIS_HOME", p)
defer os.Unsetenv("CHASSIS_HOME")
lager.Init(&lager.Options{
LoggerLevel: "INFO",
})
}