Tests For miscellaneous util methods used with compute.
-
class ComputeValidateDeviceTestCase(methodName='runTest')
Bases: nova.test.TestCase
-
setUp()
-
test_device_in_use()
-
test_gap()
-
test_invalid_bdms()
-
test_invalid_device_prefix()
-
test_later()
-
test_no_bdms()
-
test_wrap()
-
test_wrap_plus_one()
-
class UsageInfoTestCase(methodName='runTest')
Bases: nova.test.TestCase
-
setUp()
-
tearDown()
-
test_notify_about_instance_usage()
-
test_notify_usage_exists()
Ensure ‘exists’ notification generates appropriate usage data.
-
test_notify_usage_exists_deleted_instance()
Ensure ‘exists’ notification generates appropriate usage data.
-
test_notify_usage_exists_instance_not_found()
Ensure ‘exists’ notification generates appropriate usage data.