All the container's tests depends on this, we need it to run first.
(t *testing.T)
| 220 | |
| 221 | // All the container's tests depends on this, we need it to run first. |
| 222 | func TestImagePull(t *testing.T) { |
| 223 | client, err := newClient(t, address) |
| 224 | if err != nil { |
| 225 | t.Fatal(err) |
| 226 | } |
| 227 | defer client.Close() |
| 228 | |
| 229 | ctx, cancel := testContext(t) |
| 230 | defer cancel() |
| 231 | _, err = client.Pull(ctx, testImage, WithPlatformMatcher(platforms.Default())) |
| 232 | if err != nil { |
| 233 | t.Fatal(err) |
| 234 | } |
| 235 | } |
| 236 | |
| 237 | func TestImagePullWithDiscardContent(t *testing.T) { |
| 238 | client, err := newClient(t, address) |
nothing calls this directly
no test coverage detected
searching dependent graphs…