MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / TestErrorPath

Function TestErrorPath

crypto/kms/pubkeystore_test.go:239–246  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

237}
238
239func TestErrorPath(t *testing.T) {
240 Convey("can not init db", t, func() {
241 ClosePublicKeyStore()
242 err := InitPublicKeyStore("/path/not/exist", nil)
243 So(pks, ShouldBeNil)
244 So(err, ShouldNotBeNil)
245 })
246}
247
248func TestMarshalNode(t *testing.T) {
249 Convey("marshal unmarshal node", t, func() {

Callers

nothing calls this directly

Calls 2

ClosePublicKeyStoreFunction · 0.85
InitPublicKeyStoreFunction · 0.85

Tested by

no test coverage detected