github.com/line/ostracon@v1.0.10-0.20230328032236-7f20145f065d/privval/test_util_test.go (about) 1 package privval 2 3 import ( 4 "testing" 5 6 "github.com/line/ostracon/crypto" 7 ) 8 9 func TestWithMockKMS(t *testing.T) { 10 dir := t.TempDir() 11 WithMockKMS(t, dir, "test", func(addr string, privKey crypto.PrivKey) {}) 12 }