()
| 88 | } |
| 89 | |
| 90 | func NewConfig() *config.Config { |
| 91 | conf := config.New() |
| 92 | conf.Username = "testuser" |
| 93 | conf.KontrolURL = "http://localhost:4000/kite" |
| 94 | conf.KontrolKey = testkeys.Public |
| 95 | conf.KontrolUser = "testuser" |
| 96 | conf.KiteKey = NewKiteKey().Raw |
| 97 | return conf |
| 98 | } |
| 99 | |
| 100 | func init() { |
| 101 | // Monkey-patch default logging handler that is used by Kite.Logger |
nothing calls this directly
no test coverage detected