skip TestAuthApi if no network is available

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2016-04-25 19:17:17 +02:00
parent 17d5c97c90
commit 2fae3d2693

View File

@@ -10,6 +10,7 @@ import (
// Test case for #22244
func (s *DockerSuite) TestAuthApi(c *check.C) {
testRequires(c, Network)
config := types.AuthConfig{
Username: "no-user",
Password: "no-password",