(self)
| 36 | |
| 37 | class PullImageTest(BaseAPIIntegrationTest): |
| 38 | def test_pull(self): |
| 39 | try: |
| 40 | self.client.remove_image('hello-world') |
| 41 | except docker.errors.APIError: |
| 42 | pass |
| 43 | res = self.client.pull('hello-world') |
| 44 | self.tmp_imgs.append('hello-world') |
| 45 | assert isinstance(res, str) |
| 46 | assert len(self.client.images('hello-world')) >= 1 |
| 47 | img_info = self.client.inspect_image('hello-world') |
| 48 | assert 'Id' in img_info |
| 49 | |
| 50 | def test_pull_streaming(self): |
| 51 | try: |
nothing calls this directly
no test coverage detected