cosmos-sdk/client/keys/root_test.go
Alessio Treglia 3e6562ce45 Merge PR #5097: Add keys migrate command
Add new command to assist users migrate their keys from the legacy
on-disk keybase to the new OS keyring-based implementation.

Ref #4754
2019-09-30 11:49:12 -04:00

16 lines
252 B
Go

package keys
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestCommands(t *testing.T) {
rootCommands := Commands()
assert.NotNil(t, rootCommands)
// Commands are registered
assert.Equal(t, 11, len(rootCommands.Commands()))
}