mirror of
https://github.com/moby/moby.git
synced 2025-07-29 07:21:35 +03:00
Implement DockerRegistrySuite in integration-cli
To avoid manually creating and destroying registrys in tests. Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
@ -9,9 +9,7 @@ import (
|
||||
)
|
||||
|
||||
// See issue docker/docker#8141
|
||||
func (s *DockerSuite) TestPullImageWithAliases(c *check.C) {
|
||||
defer setupRegistry(c)()
|
||||
|
||||
func (s *DockerRegistrySuite) TestPullImageWithAliases(c *check.C) {
|
||||
repoName := fmt.Sprintf("%v/dockercli/busybox", privateRegistryURL)
|
||||
|
||||
repos := []string{}
|
||||
@ -48,7 +46,6 @@ func (s *DockerSuite) TestPullImageWithAliases(c *check.C) {
|
||||
c.Fatalf("Image %v shouldn't have been pulled down", repo)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// pulling library/hello-world should show verified message
|
||||
|
Reference in New Issue
Block a user