(t *testing.T)
| 41 | } |
| 42 | |
| 43 | func TestCheckpointListContainerNotFound(t *testing.T) { |
| 44 | client, err := New( |
| 45 | WithMockClient(errorMock(http.StatusNotFound, "Server error")), |
| 46 | ) |
| 47 | assert.NilError(t, err) |
| 48 | |
| 49 | _, err = client.CheckpointList(t.Context(), "unknown", CheckpointListOptions{}) |
| 50 | assert.Check(t, is.ErrorType(err, cerrdefs.IsNotFound)) |
| 51 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…