(t *testing.T)
| 86 | } |
| 87 | |
| 88 | func TestServiceImageName(t *testing.T) { |
| 89 | assert.Equal(t, api.GetImageNameOrDefault(composetypes.ServiceConfig{Image: "myImage"}, "myProject"), "myImage") |
| 90 | assert.Equal(t, api.GetImageNameOrDefault(composetypes.ServiceConfig{Name: "aService"}, "myProject"), "myProject-aService") |
| 91 | } |
| 92 | |
| 93 | func TestPrepareNetworkLabels(t *testing.T) { |
| 94 | project := composetypes.Project{ |
nothing calls this directly
no test coverage detected