package templater import "testing" func TestManageService(t *testing.T) { var hostConfig TemplaterConfig err := hostConfig.New("../../data/config/loki-stack.json", "../../data/templates/", "/tmp/testing") if err != nil { t.Errorf(err.Error()) } err = hostConfig.ManageServices(true) if err != nil { t.Errorf(err.Error()) } }