(self)
| 662 | client.api.attach.assert_called_with(FAKE_CONTAINER_ID, stream=True) |
| 663 | |
| 664 | def test_commit(self): |
| 665 | client = make_fake_client() |
| 666 | container = client.containers.get(FAKE_CONTAINER_ID) |
| 667 | image = container.commit() |
| 668 | client.api.commit.assert_called_with(FAKE_CONTAINER_ID, |
| 669 | repository=None, |
| 670 | tag=None) |
| 671 | assert isinstance(image, Image) |
| 672 | assert image.id == FAKE_IMAGE_ID |
| 673 | |
| 674 | def test_diff(self): |
| 675 | client = make_fake_client() |
nothing calls this directly
no test coverage detected