MCPcopy Create free account
hub / github.com/FairwindsOps/pluto / TestGetDefaultVersionList

Function TestGetDefaultVersionList

pkg/api/versions_test.go:726–733  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

724}
725
726func TestGetDefaultVersionList(t *testing.T) {
727
728 // This test will ensure that the versions.yaml file is well-formed and doesn't break anything.
729 defaultVersions, defaultTargetVersions, err := GetDefaultVersionList(testVersionsFile)
730 assert.NoError(t, err)
731 assert.NotNil(t, defaultVersions)
732 assert.NotNil(t, defaultTargetVersions)
733}
734
735func TestInstance_checkVersion(t *testing.T) {
736 tests := []struct {

Callers

nothing calls this directly

Calls 1

GetDefaultVersionListFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…