// +build !pkcs11 package main import ( "testing" "github.com/docker/notary/passphrase" "github.com/spf13/cobra" ) func init() { NewNotaryCommand = func() *cobra.Command { commander := ¬aryCommander{ getRetriever: func() passphrase.Retriever { return passphrase.ConstantRetriever("pass") }, } return commander.GetCommand() } } func rootOnHardware() bool { return false } // Per-test set up that is a no-op func setUp(t *testing.T) {} // no-op func verifyRootKeyOnHardware(t *testing.T, rootKeyID string) {}