Browse code

skip TestAuthApi if no network is available

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2016/04/26 02:17:17
Showing 1 changed files
... ...
@@ -10,6 +10,7 @@ import (
10 10
 
11 11
 // Test case for #22244
12 12
 func (s *DockerSuite) TestAuthApi(c *check.C) {
13
+	testRequires(c, Network)
13 14
 	config := types.AuthConfig{
14 15
 		Username: "no-user",
15 16
 		Password: "no-password",