(self)
| 56 | assert client.containers.run(image) == b"Successfully built abcd1234\n" |
| 57 | |
| 58 | def test_list(self): |
| 59 | client = docker.from_env(version=TEST_API_VERSION) |
| 60 | image = client.images.pull('alpine:latest') |
| 61 | assert image.id in get_ids(client.images.list()) |
| 62 | |
| 63 | def test_list_with_repository(self): |
| 64 | client = docker.from_env(version=TEST_API_VERSION) |