The ironic.tests.unit.drivers.modules.test_virtualbox Module

Test class for VirtualBox Driver Modules.

class ironic.tests.unit.drivers.modules.test_virtualbox.VirtualBoxManagementTestCase(*args, **kwargs)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test_get_boot_device_VM_Poweroff_ok(*args, **keywargs)[source]
test_get_boot_device_VM_Poweron_ok(*args, **keywargs)[source]
test_get_boot_device_invalid(*args, **keywargs)[source]
test_get_boot_device_target_device_none_ok(*args, **keywargs)[source]
test_get_properties()[source]
test_get_sensors_data()[source]
test_get_supported_boot_devices()[source]
test_set_boot_device_VM_Poweroff_ok(*args, **keywargs)[source]
test_set_boot_device_VM_Poweron_ok(*args, **keywargs)[source]
test_set_boot_device_invalid(*args, **keywargs)[source]
test_validate(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.test_virtualbox.VirtualBoxMethodsTestCase(*args, **kwargs)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test__parse_driver_info()[source]
test__parse_driver_info_invalid_port()[source]
test__parse_driver_info_missing_host()[source]
test__parse_driver_info_missing_port()[source]
test__parse_driver_info_missing_vmname()[source]
test__run_virtualbox_method(*args, **keywargs)[source]
test__run_virtualbox_method_find_vm_fails(*args, **keywargs)[source]
test__run_virtualbox_method_func_fails(*args, **keywargs)[source]
test__run_virtualbox_method_get_host_fails(*args, **keywargs)[source]
test__run_virtualbox_method_invalid_method(*args, **keywargs)[source]
test__run_virtualbox_method_vm_wrong_power_state(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.test_virtualbox.VirtualBoxPowerTestCase(*args, **kwargs)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test_get_power_state(*args, **keywargs)[source]
test_get_power_state_invalid_state(*args, **keywargs)[source]
test_get_properties()[source]
test_reboot(*args, **keywargs)[source]
test_set_power_state_invalid_state()[source]
test_set_power_state_off(*args, **keywargs)[source]
test_set_power_state_on(*args, **keywargs)[source]
test_set_power_state_reboot(*args, **keywargs)[source]
test_validate(*args, **keywargs)[source]

Project Source

This Page