laconicd/tests/system/cli.go
Roy Crihfield 72a93dec2f refactor for sdk update
- register crypto types

- fix app codec

eager config and cli init

[wip] fix app cli

[wip] new msg handler registration (bonds)

clean up module autocli: use <> for required positional args

system tests

- registry

[wip] system tests fix, refactor

registry tests

TransferCoinsToModuleAccount: clarify function
2025-02-13 11:41:58 +08:00

28 lines
470 B
Go

package system
import (
"path/filepath"
"testing"
"github.com/stretchr/testify/assert"
"cosmossdk.io/tests/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,
true,
)
}