You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
342 B

  1. // Import this in all *_test.go files to initialize ~/.tendermint_test.
  2. // TODO: Reset each time?
  3. package test
  4. import (
  5. cfg "github.com/tendermint/tendermint/config"
  6. tmcfg "github.com/tendermint/tendermint/config/tendermint_test"
  7. )
  8. func init() {
  9. // Creates ~/.tendermint_test/*
  10. config := tmcfg.GetConfig("")
  11. cfg.ApplyConfig(config)
  12. }