Explorar o código

Work around error message change in Engine

Signed-off-by: Aanand Prasad <[email protected]>
Aanand Prasad %!s(int64=9) %!d(string=hai) anos
pai
achega
fbc275e06b
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      tests/acceptance/cli_test.py

+ 2 - 1
tests/acceptance/cli_test.py

@@ -238,7 +238,8 @@ class CLITestCase(DockerClientTestCase):
 
         assert 'Pulling simple (busybox:latest)...' in result.stderr
         assert 'Pulling another (nonexisting-image:latest)...' in result.stderr
-        assert 'Error: image library/nonexisting-image:latest not found' in result.stderr
+        assert 'Error: image library/nonexisting-image' in result.stderr
+        assert 'not found' in result.stderr
 
     def test_build_plain(self):
         self.base_dir = 'tests/fixtures/simple-dockerfile'