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
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 1 additions and 0 deletions

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",