cosmos-sdk/client/keys/root_test.go
Jonathan Gimeno 54141887b5
Add home default to other commands. (#6789)
* Add home default to other commands.

* add defaultNodeHome to rest of commands

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-20 15:12:33 +00:00

16 lines
258 B
Go

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