We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6010527 + 940805d commit f2e09aeCopy full SHA for f2e09ae
tests/integration/models_images_test.py
@@ -87,8 +87,10 @@ def test_pull_with_sha(self):
87
def test_pull_multiple(self):
88
client = docker.from_env(version=TEST_API_VERSION)
89
images = client.images.pull('hello-world')
90
- assert len(images) == 1
91
- assert 'hello-world:latest' in images[0].attrs['RepoTags']
+ assert len(images) >= 1
+ assert any([
92
+ 'hello-world:latest' in img.attrs['RepoTags'] for img in images
93
+ ])
94
95
def test_load_error(self):
96
0 commit comments