summaryrefslogtreecommitdiff
path: root/openstackclient/image
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2013-11-15 17:40:09 -0600
committerDean Troyer <dtroyer@gmail.com>2013-11-18 22:11:10 -0600
commit6460f1eb359d37dc43bdbb7d3eacc6c3f5cd7ede (patch)
tree1720ee65c6da418586dbffc8d53b860df6ae21e0 /openstackclient/image
parentc946192e37111aa381097256c1fd1fb91e356783 (diff)
downloadpython-openstackclient-6460f1eb359d37dc43bdbb7d3eacc6c3f5cd7ede.tar.gz
Complete basic test infrastructure
This finally gets all of the API tests into a common framework regarding test classes and so forth. Change-Id: If675347129c50dcba0bfc5b6c58f5a2ca57ff46c
Diffstat (limited to 'openstackclient/image')
-rw-r--r--openstackclient/image/v1/image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/image/v1/image.py b/openstackclient/image/v1/image.py
index 8827d079..40f9fce1 100644
--- a/openstackclient/image/v1/image.py
+++ b/openstackclient/image/v1/image.py
@@ -213,7 +213,7 @@ class DeleteImage(command.Command):
image_client.images,
parsed_args.image,
)
- image_client.images.delete(image)
+ image_client.images.delete(image.id)
class ListImage(lister.Lister):