github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/externals/common_test.go (about) 1 package externals 2 3 import ( 4 "github.com/keybase/client/go/libkb" 5 "github.com/keybase/client/go/pvl" 6 ) 7 8 func setupTest(tb libkb.TestingTB, name string, depth int) libkb.TestContext { 9 tc := libkb.SetupTest(tb, name, depth) 10 g := tc.G 11 g.SetProofServices(NewProofServices(g)) 12 err := g.ConfigureMerkleClient() 13 if err != nil { 14 tb.Fatal(err) 15 } 16 pvl.NewPvlSourceAndInstall(g) 17 NewParamProofStoreAndInstall(g) 18 return tc 19 }