transitional ethutil.ReadConfig fixes in ethchain tests (they still fail! FIXME :)

This commit is contained in:
zelig
2014-06-27 15:56:45 +01:00
parent 423beddf57
commit 79009ca074
5 changed files with 14 additions and 6 deletions

View File

@ -9,7 +9,7 @@ import (
)
func TestSync(t *testing.T) {
ethutil.ReadConfig("", ethutil.LogStd, "")
ethutil.ReadConfig(".ethtest", "/tmp/ethtest", "", "ETH")
db, _ := ethdb.NewMemDatabase()
state := NewState(ethutil.NewTrie(db, ""))
@ -28,7 +28,7 @@ func TestSync(t *testing.T) {
}
func TestObjectGet(t *testing.T) {
ethutil.ReadConfig("", ethutil.LogStd, "")
ethutil.ReadConfig(".ethtest", "/tmp/ethtest", "", "ETH")
db, _ := ethdb.NewMemDatabase()
ethutil.Config.Db = db