(cfgstring string)
| 24 | ) |
| 25 | |
| 26 | func initEnv(cfgstring string) (*Executor, queue.Queue) { |
| 27 | cfg := types.NewChain33Config(cfgstring) |
| 28 | q := queue.New("channel") |
| 29 | q.SetConfig(cfg) |
| 30 | exec := New(cfg) |
| 31 | exec.client = q.Client() |
| 32 | exec.qclient, _ = client.New(exec.client, nil) |
| 33 | return exec, q |
| 34 | } |
| 35 | |
| 36 | func TestIsModule(t *testing.T) { |
| 37 | var qmodule queue.Module = &Executor{} |
no test coverage detected