(t *testing.T)
| 290 | } |
| 291 | |
| 292 | func TestInitializeShouldAlwaysCreateTheContextStore(t *testing.T) { |
| 293 | cli, err := NewDockerCli() |
| 294 | assert.NilError(t, err) |
| 295 | apiClient, err := client.New() |
| 296 | assert.NilError(t, err) |
| 297 | assert.NilError(t, cli.Initialize(flags.NewClientOptions(), WithAPIClient(apiClient))) |
| 298 | assert.Check(t, cli.ContextStore() != nil) |
| 299 | } |
| 300 | |
| 301 | func TestHooksEnabled(t *testing.T) { |
| 302 | t.Run("disabled by default", func(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…