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

Function TestDisableOpenPGP_ApplyToMasterKey

pgp/keysource_test.go:172–176  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

170}
171
172func TestDisableOpenPGP_ApplyToMasterKey(t *testing.T) {
173 key := NewMasterKeyFromFingerprint(mockFingerprint)
174 DisableOpenPGP{}.ApplyToMasterKey(key)
175 assert.True(t, key.disableOpenPGP)
176}
177
178func TestPubRing_ApplyToMasterKey(t *testing.T) {
179 key := NewMasterKeyFromFingerprint(mockFingerprint)

Callers

nothing calls this directly

Calls 2

ApplyToMasterKeyMethod · 0.45

Tested by

no test coverage detected