The nova.tests.test_hypervapi Module

Test suite for the Hyper-V driver and related APIs.

class HyperVAPITestCase(methodName='runTest')

Bases: nova.tests.hyperv.basetestcase.BaseTestCase

Unit tests for Hyper-V driver calls.

setUp()
tearDown()
test_attach_volume()
test_attach_volume_with_target_connection_failure()
test_boot_from_volume()
test_destroy()
test_detach_volume()
test_get_available_resource()
test_get_info()
test_list_instances()
test_live_migration()
test_live_migration_with_target_failure()
test_pause()
test_pause_already_paused()
test_power_off()
test_power_off_already_powered_off()
test_power_on()
test_power_on_already_running()
test_pre_live_migration_cow_image()
test_pre_live_migration_no_cow_image()
test_reboot()
test_resume()
test_resume_already_running()
test_snapshot()
test_snapshot_with_update_failure()
test_spawn_cow_image()
test_spawn_no_cow_image()
test_spawn_no_vswitch_exception()
test_suspend()
test_suspend_already_suspended()
test_unpause()
test_unpause_already_running()

Previous topic

The nova.tests.test_flags Module

Next topic

The nova.tests.test_imagebackend Module

This Page