The nova.tests.test_imagebackend Module

class BackendTestCase(methodName='runTest')

Bases: nova.test.TestCase

INSTANCE = 'fake-instance'
NAME = 'fake-name.suffix'
get_image(use_cow, image_type)
test_image_default()
test_image_lvm()
test_image_qcow2()
test_image_raw()
class LvmTestCase(methodName='runTest')

Bases: nova.tests.test_imagebackend._ImageTestCase

SIZE = 1024
TEMPLATE_SIZE = 512
VG = 'FakeVG'
prepare_mocks()
setUp()
test_create_image()
test_create_image_generated()
test_create_image_generated_negative()
test_create_image_generated_sparsed()
test_create_image_negative()
test_create_image_resize()
test_create_image_resize_sparsed()
test_create_image_sparsed()
class Qcow2TestCase(methodName='runTest')

Bases: nova.tests.test_imagebackend._ImageTestCase

SIZE = 1073741824
prepare_mocks()
setUp()
test_create_image()
test_create_image_with_size()
test_create_image_with_size_template_exists()
class RawTestCase(methodName='runTest')

Bases: nova.tests.test_imagebackend._ImageTestCase

SIZE = 1024
prepare_mocks()
setUp()
test_create_image()
test_create_image_extend()
test_create_image_generated()

Previous topic

The nova.tests.test_image_utils Module

Next topic

The nova.tests.test_imagecache Module

This Page