docs/cmd/notary/integration_nonpkcs11_test.go

30 lines
532 B
Go

// +build !pkcs11
package main
import (
"testing"
"github.com/docker/notary/passphrase"
"github.com/spf13/cobra"
)
func init() {
NewNotaryCommand = func() *cobra.Command {
commander := &notaryCommander{
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) {}