From 9c61ed908c1276688c64eab42ad641b972b4d6d0 Mon Sep 17 00:00:00 2001 From: Joffrey F Date: Mon, 30 Jan 2017 17:59:03 -0800 Subject: Add prune_volumes method Signed-off-by: Joffrey F --- tests/integration/api_image_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/integration/api_image_test.py') diff --git a/tests/integration/api_image_test.py b/tests/integration/api_image_test.py index 0f6753f..10e95fe 100644 --- a/tests/integration/api_image_test.py +++ b/tests/integration/api_image_test.py @@ -299,5 +299,5 @@ class PruneImagesTest(BaseAPIIntegrationTest): self.tmp_imgs.append('hello-world') img_id = self.client.inspect_image('hello-world')['Id'] result = self.client.prune_images() - assert img_id in result['ImagesDeleted'] + assert img_id in [img['Deleted'] for img in result['ImagesDeleted']] assert result['SpaceReclaimed'] > 0 -- cgit v1.2.1