MCPcopy
hub / github.com/getsops/sops / TestMasterKey_ToString

Function TestMasterKey_ToString

azkv/keysource_test.go:191–194  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

189}
190
191func TestMasterKey_ToString(t *testing.T) {
192 key := newMasterKey("https://test.vault.azure.net", "key-name", "key-version")
193 assert.Equal(t, "https://test.vault.azure.net/keys/key-name/key-version", key.ToString())
194}
195
196func TestMasterKey_ToMap(t *testing.T) {
197 key := MasterKey{

Callers

nothing calls this directly

Calls 2

newMasterKeyFunction · 0.85
ToStringMethod · 0.65

Tested by

no test coverage detected