Ver Fonte

Work around error message change in Engine

Signed-off-by: Aanand Prasad <[email protected]>
Aanand Prasad há 9 anos atrás
pai
commit
fbc275e06b
1 ficheiros alterados com 2 adições e 1 exclusões
  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'