Tests For miscellaneous util methods used with compute.
-
class ComputeValidateDeviceTestCase(*args, **kwargs)
Bases: nova.test.TestCase
-
setUp()
-
test_device_in_use()
-
test_ephemeral_xenapi()
-
test_gap()
-
test_invalid_bdms()
-
test_invalid_device_prefix()
-
test_later()
-
test_lxc_names_work()
-
test_name_conversion()
-
test_no_bdms()
-
test_swap()
-
test_swap_and_ephemeral_xenapi()
-
test_swap_and_one_attachment_xenapi()
-
test_swap_no_ephemeral()
-
test_swap_xenapi()
-
test_wrap()
-
test_wrap_plus_one()
-
class UsageInfoTestCase(*args, **kwargs)
Bases: nova.test.TestCase
-
setUp()
-
test_notify_about_instance_usage()
-
test_notify_usage_exists()
-
test_notify_usage_exists_deleted_instance()
-
test_notify_usage_exists_instance_not_found()