Explorar el Código

Work around error message change in Engine

Signed-off-by: Aanand Prasad <[email protected]>
Aanand Prasad hace 9 años
padre
commit
fbc275e06b
Se han modificado 1 ficheros con 2 adiciones y 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'