(x *testing.T)
| 94 | } |
| 95 | |
| 96 | func TestApiProxy(x *testing.T) { |
| 97 | t := openTopom() |
| 98 | defer t.Close() |
| 99 | |
| 100 | c := newApiClient(t) |
| 101 | |
| 102 | p, z := openProxy() |
| 103 | defer z.Shutdown() |
| 104 | |
| 105 | assert.MustNoError(c.CreateProxy(p.AdminAddr)) |
| 106 | assert.MustNoError(c.ReinitProxy(p.Token)) |
| 107 | assert.MustNoError(c.RemoveProxy(p.Token, false)) |
| 108 | } |
nothing calls this directly
no test coverage detected