Merge "Change V2 image tests to actually run V2 image code"

This commit is contained in:
Jenkins 2014-07-25 22:49:26 +00:00 committed by Gerrit Code Review
commit 01f7a5f9f5
2 changed files with 2 additions and 2 deletions
openstackclient
image/v2
tests/image/v2

@ -48,7 +48,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):

@ -15,7 +15,7 @@
import copy
from openstackclient.image.v1 import image
from openstackclient.image.v2 import image
from openstackclient.tests import fakes
from openstackclient.tests.image.v2 import fakes as image_fakes