TestGetAppContainers looks for container with sitename dockerutils-test
(t *testing.T)
| 346 | |
| 347 | // TestGetAppContainers looks for container with sitename dockerutils-test |
| 348 | func TestGetAppContainers(t *testing.T) { |
| 349 | assert := asrt.New(t) |
| 350 | containers, err := dockerutil.GetAppContainers(testContainerName) |
| 351 | assert.NoError(err) |
| 352 | assert.Contains(containers[0].Image, versionconstants.WebImg) |
| 353 | } |
| 354 | |
| 355 | // TestFindContainerByName does a simple test of FindContainerByName() |
| 356 | func TestFindContainerByName(t *testing.T) { |
nothing calls this directly
no test coverage detected