Skip to content

Commit

Permalink
adding separate test suite for localhost transfer tests (#3144)
Browse files Browse the repository at this point in the history
  • Loading branch information
chatton authored Feb 14, 2023
1 parent f70b023 commit f1fa2f6
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions e2e/tests/transfer/localhost_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,33 @@ package transfer
import (
"context"
"testing"
"github.com/stretchr/testify/suite"

sdk "github.com/cosmos/cosmos-sdk/types"

transfertypes "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types"
clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types"
connectiontypes "github.com/cosmos/ibc-go/v7/modules/core/03-connection/types"
channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types"
test "github.com/strangelove-ventures/interchaintest/v7/testutil"
ibctesting "github.com/cosmos/ibc-go/v7/testing"

"github.com/cosmos/ibc-go/e2e/testsuite"
"github.com/cosmos/ibc-go/e2e/testvalues"
test "github.com/strangelove-ventures/interchaintest/v7/testutil"
)

func TestTransferLocalhostTestSuite(t *testing.T) {
suite.Run(t, new(LocalhostTransferTestSuite))
}

type LocalhostTransferTestSuite struct {
*TransferTestSuite
}

// TestMsgTransfer_Localhost creates two wallets on a single chain and performs MsgTransfers back and forth
// to ensure ibc functions as expected on localhost. This test is largely the same as TestMsgTransfer_Succeeds_Nonincentivized
// except that chain B is replaced with an additional wallet on chainA.
func (s *TransferTestSuite) TestMsgTransfer_Localhost() {
func (s *LocalhostTransferTestSuite) TestMsgTransfer_Localhost() {
t := s.T()
ctx := context.TODO()

Expand Down

0 comments on commit f1fa2f6

Please sign in to comment.