Fix tests; Tests run in their own directory

This commit is contained in:
Jae Kwon
2016-03-06 15:05:50 -08:00
parent fd85d0ef35
commit 03115cbf93
11 changed files with 53 additions and 33 deletions

View File

@ -4,11 +4,16 @@ import (
"fmt"
"testing"
_ "github.com/tendermint/tendermint/config/tendermint_test"
"github.com/tendermint/tendermint/config/tendermint_test"
ctypes "github.com/tendermint/tendermint/rpc/core/types"
"github.com/tendermint/tendermint/types"
)
func init() {
tendermint_test.ResetConfig("rpc_test_client_test")
initGlobalVariables()
}
//--------------------------------------------------------------------------------
// Test the HTTP client
//--------------------------------------------------------------------------------