(t *testing.T)
| 509 | } |
| 510 | |
| 511 | func TestServiceConvertsIsolation(t *testing.T) { |
| 512 | src := composetypes.ServiceConfig{ |
| 513 | Isolation: "hyperv", |
| 514 | } |
| 515 | result, err := Service(Namespace{name: "foo"}, src, nil, nil, nil, nil) |
| 516 | assert.NilError(t, err) |
| 517 | assert.Check(t, is.Equal(container.IsolationHyperV, result.TaskTemplate.ContainerSpec.Isolation)) |
| 518 | } |
| 519 | |
| 520 | func TestConvertServiceSecrets(t *testing.T) { |
| 521 | namespace := Namespace{name: "foo"} |
nothing calls this directly
no test coverage detected
searching dependent graphs…