Test suite for VMwareAPI.
-
class VMwareAPIHostTestCase(*args, **kwargs)
Bases: nova.test.TestCase
Unit tests for Vmware API host calls.
-
setUp()
-
tearDown()
-
test_host_maintenance_off()
-
test_host_maintenance_on()
-
test_host_reboot()
-
test_host_shutdown()
-
test_host_startup()
-
test_host_state()
-
class VMwareAPIVMTestCase(*args, **kwargs)
Bases: nova.test.TestCase
Unit tests for Vmware API connection calls.
-
setUp()
-
tearDown()
-
test_destroy()
-
test_destroy_non_existent()
-
test_diagnostics()
-
test_get_console_output()
-
test_get_info()
-
test_list_instances()
-
test_list_instances_1()
-
test_list_interfaces()
-
test_pause()
-
test_power_off()
-
test_power_off_non_existent()
-
test_power_off_suspended()
-
test_power_on()
-
test_power_on_non_existent()
-
test_reboot()
-
test_reboot_non_existent()
-
test_reboot_not_poweredon()
-
test_resume()
-
test_resume_non_existent()
-
test_resume_not_suspended()
-
test_snapshot()
-
test_snapshot_non_existent()
-
test_spawn()
-
test_suspend()
-
test_suspend_non_existent()
-
test_unpause()