(x *testing.T)
| 33 | } |
| 34 | |
| 35 | func TestModel(x *testing.T) { |
| 36 | s, addr := openProxy() |
| 37 | defer s.Close() |
| 38 | |
| 39 | var c = NewApiClient(addr) |
| 40 | |
| 41 | p, err := c.Model() |
| 42 | assert.MustNoError(err) |
| 43 | assert.Must(p.Token == s.Model().Token) |
| 44 | assert.Must(p.ProductName == config.ProductName) |
| 45 | } |
| 46 | |
| 47 | func TestStats(x *testing.T) { |
| 48 | s, addr := openProxy() |
nothing calls this directly
no test coverage detected