This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.1 docs or all OpenStack docs too.

The nova.tests.test_instance_types Module

Unit Tests for instance types code

class nova.tests.test_instance_types.InstanceTypeTestCase(methodName='runTest')

Bases: nova.test.TestCase

Test cases for instance type code

setUp()
test_get_all_instance_types()

Ensures that all instance types can be retrieved

test_instance_type_create_then_delete()

Ensure instance types can be created

test_invalid_create_args_should_fail()

Ensures that instance type creation fails with invalid args

test_non_existant_inst_type_shouldnt_delete()

Ensures that instance type creation fails with invalid args