Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:OpenStack:Kilo
openstack-tempest
Add-show-image-method.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Add-show-image-method.diff of Package openstack-tempest
diff a/tempest/services/image/v2/json/image_client.py b/tempest/services/image/v2/json/image_client.py --- a/tempest/services/image/v2/json/image_client.py +++ b/tempest/services/image/v2/json/image_client.py @@ -121,6 +121,13 @@ body = json.loads(body) return service_client.ResponseBody(resp, body) + def show_image(self, image_id): + url = 'v2/images/%s' % image_id + resp, body = self.get(url) + self.expected_success(200, resp.status) + body = json.loads(body) + return service_client.ResponseBody(resp, body) + def is_resource_deleted(self, id): try: self.get_image(id)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor