summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoffrey F <joffrey@docker.com>2015-09-09 17:09:29 -0700
committerJoffrey F <joffrey@docker.com>2015-09-09 17:10:04 -0700
commitb1c2475698c94345219b4d5e830c9136be7cabbc (patch)
tree0db4e44266a3bbcf6feadf18ee5866fbdd57a102
parent1fb2db49515b580367a5e4c2e62d369787190774 (diff)
downloaddocker-py-ci-fixes.tar.gz
Add hello-world to temp images in pull testsci-fixes
Signed-off-by: Joffrey F <joffrey@docker.com>
-rw-r--r--tests/integration_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/integration_test.py b/tests/integration_test.py
index 3581b04..0cf1250 100644
--- a/tests/integration_test.py
+++ b/tests/integration_test.py
@@ -1120,6 +1120,7 @@ class TestPull(BaseTestCase):
except docker.errors.APIError:
pass
res = self.client.pull('hello-world')
+ self.tmp_imgs.append('hello-world')
self.assertEqual(type(res), six.text_type)
self.assertGreaterEqual(
len(self.client.images('hello-world')), 1
@@ -1135,6 +1136,7 @@ class TestPullStream(BaseTestCase):
except docker.errors.APIError:
pass
stream = self.client.pull('hello-world', stream=True)
+ self.tmp_imgs.append('hello-world')
for chunk in stream:
if six.PY3:
chunk = chunk.decode('utf-8')