29 lines
473 B
Go
29 lines
473 B
Go
package system
|
|
|
|
import (
|
|
"path/filepath"
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
|
|
"cosmossdk.io/systemtests"
|
|
)
|
|
|
|
func NewCLIWrapper(t *testing.T, sut *SystemUnderTest, verbose bool, fees string) *systemtests.CLIWrapper {
|
|
t.Helper()
|
|
return systemtests.NewCLIWrapperX(
|
|
t,
|
|
sut.execBinary,
|
|
sut.rpcAddr,
|
|
sut.chainID,
|
|
sut.AwaitNextBlock,
|
|
sut.nodesCount,
|
|
filepath.Join(WorkDir, sut.outputDir),
|
|
fees,
|
|
verbose,
|
|
assert.NoError,
|
|
false,
|
|
true,
|
|
)
|
|
}
|