(self)
| 48 | assert 'Id' in img_info |
| 49 | |
| 50 | def test_pull_streaming(self): |
| 51 | try: |
| 52 | self.client.remove_image('hello-world') |
| 53 | except docker.errors.APIError: |
| 54 | pass |
| 55 | stream = self.client.pull( |
| 56 | 'hello-world', stream=True, decode=True) |
| 57 | self.tmp_imgs.append('hello-world') |
| 58 | for chunk in stream: |
| 59 | assert isinstance(chunk, dict) |
| 60 | assert len(self.client.images('hello-world')) >= 1 |
| 61 | img_info = self.client.inspect_image('hello-world') |
| 62 | assert 'Id' in img_info |
| 63 | |
| 64 | @requires_api_version('1.32') |
| 65 | @requires_experimental(until=None) |
nothing calls this directly
no test coverage detected