MCPcopy Create free account
hub / github.com/cozystack/talm / TestMultiDocCozystack_PreReleaseVersion

Function TestMultiDocCozystack_PreReleaseVersion

pkg/engine/render_test.go:420–427  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

418}
419
420func TestMultiDocCozystack_PreReleaseVersion(t *testing.T) {
421 // Pre-release v1.12 versions should still use multi-doc format
422 output := renderChartTemplate(t, "../../charts/cozystack", "templates/controlplane.yaml", "v1.12.0-alpha.1")
423
424 assertContains(t, output, "kind: HostnameConfig")
425 assertContains(t, output, "kind: RegistryMirrorConfig")
426 assertNotContains(t, output, " interfaces:")
427}
428
429func TestMultiDocCozystack_TwoComponentVersion(t *testing.T) {
430 // Two-component version string (v1.12 without patch) should work

Callers

nothing calls this directly

Calls 3

renderChartTemplateFunction · 0.85
assertContainsFunction · 0.85
assertNotContainsFunction · 0.85

Tested by

no test coverage detected