Skip to content

Commit

Permalink
Fix pulling pause:latest error inside test
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Barra committed Aug 11, 2018
1 parent c62a25b commit 2325333
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_images.py
Expand Up @@ -134,7 +134,6 @@ async def file_sender(writer, file_name=None):

dir = os.path.dirname(__file__)
hello_world = os.path.join(dir, 'docker/google-containers-pause.tar')
# hello_world = os.path.join(dir, 'docker/Dockerfile')
response = await docker.images.import_image(
data=file_sender(file_name=hello_world))
for item in response:
Expand All @@ -144,7 +143,7 @@ async def file_sender(writer, file_name=None):
image = await docker.images.get(name='gcr.io/google-containers/pause:go')
assert image
image = await docker.images.get(
name='gcr.io/google-containers/pause:latest')
name='gcr.io/google-containers/pause')
assert image
image = await docker.images.get(name='gcr.io/google-containers/pause:test')
assert image
Expand Down

0 comments on commit 2325333

Please sign in to comment.