better init test

This commit is contained in:
rigelrozanski
2018-04-26 14:26:39 -04:00
parent 05c5809bae
commit ade42e74b7
4 changed files with 125 additions and 79 deletions
+14 -1
View File
@@ -12,7 +12,8 @@ import (
tcmd "github.com/tendermint/tendermint/cmd/tendermint/commands"
)
func TestInit(t *testing.T) {
// TODO update
func TestInitCmd(t *testing.T) {
defer setupViper(t)()
logger := log.NewNopLogger()
@@ -28,3 +29,15 @@ func TestInit(t *testing.T) {
err = cmd.RunE(nil, nil)
require.NoError(t, err)
}
func TestGenTxCmd(t *testing.T) {
// TODO
}
func TestSimpleAppGenTx(t *testing.T) {
// TODO
}
func TestSimpleAppGenState(t *testing.T) {
// TODO
}