(self)
| 250 | # Docs say output is available in 1.23, but this test fails on 1.12.0 |
| 251 | @requires_api_version('1.24') |
| 252 | def test_get_load_image(self): |
| 253 | test_img = 'hello-world:latest' |
| 254 | self.client.pull(test_img) |
| 255 | data = self.client.get_image(test_img) |
| 256 | assert data |
| 257 | output = self.client.load_image(data) |
| 258 | assert any(line for line in output |
| 259 | if f'Loaded image: {test_img}' in line.get('stream', '')) |
| 260 | |
| 261 | @contextlib.contextmanager |
| 262 | def temporary_http_file_server(self, stream): |
nothing calls this directly
no test coverage detected