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

class FlavorDisabledTest(*args, **kwargs)

Bases: nova.test.TestCase

assertFlavorDisabled(flavor, disabled)
content_type = 'application/json'
prefix = 'OS-FLV-DISABLED:'
setUp()
test_detail()
test_show()
class FlavorDisabledXmlTest(*args, **kwargs)

Bases: nova.tests.api.openstack.compute.contrib.test_flavor_disabled.FlavorDisabledTest

content_type = 'application/xml'
prefix = '{http://docs.openstack.org/compute/ext/flavor_disabled/api/v1.1}'
fake_instance_type_get_all(*args, **kwargs)
fake_instance_type_get_by_flavor_id(flavorid, ctxt=None)

Previous topic

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

Next topic

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

This Page