github.com/Finschia/finschia-sdk@v0.49.1/client/keys/root_test.go (about)

     1  package keys
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/stretchr/testify/assert"
     7  )
     8  
     9  func TestCommands(t *testing.T) {
    10  	rootCommands := Commands("home")
    11  	assert.NotNil(t, rootCommands)
    12  
    13  	// Commands are registered
    14  	assert.Equal(t, 8, len(rootCommands.Commands()))
    15  }