The nova.tests.api.openstack.compute.contrib.test_image_size Module

class ImageSizeTest(*args, **kwargs)

Bases: nova.test.TestCase

assertImageSize(image, size)
content_type = 'application/json'
prefix = 'OS-EXT-IMG-SIZE'
setUp()
test_detail()
test_show()
class ImageSizeXmlTest(*args, **kwargs)

Bases: nova.tests.api.openstack.compute.contrib.test_image_size.ImageSizeTest

assertImageSize(image, size)
content_type = 'application/xml'
prefix = '{http://docs.openstack.org/compute/ext/image_size/api/v1.1}'
fake_detail(*args, **kwargs)
fake_show(*args, **kwargs)

Previous topic

The nova.tests.api.openstack.compute.contrib.test_hypervisors Module

Next topic

The nova.tests.api.openstack.compute.contrib.test_instance_actions Module

This Page