The nova.tests.api.openstack.compute.test_server_actions Module

class MockSetAdminPassword

Bases: object

class ServerActionsControllerTest(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_confirm_resize_migration_not_found()
test_confirm_resize_raises_conflict_on_invalid_state()
test_confirm_resize_server()
test_create_image()
test_create_image_bad_metadata()
test_create_image_blank_name()
test_create_image_name_too_long()
test_create_image_no_name()
test_create_image_raises_conflict_on_invalid_state()
test_create_image_snapshots_disabled()

Don’t permit a snapshot if the allow_instance_snapshots flag is False

test_create_image_with_metadata()
test_create_image_with_too_much_metadata()
test_create_volume_backed_image_no_metadata()
test_create_volume_backed_image_with_metadata()
test_locked()
test_reboot_hard()
test_reboot_hard_with_hard_in_progress_raises_conflict()
test_reboot_hard_with_soft_in_progress_does_not_raise()
test_reboot_incorrect_type()
test_reboot_missing_type()
test_reboot_not_found()
test_reboot_raises_conflict_on_invalid_state()
test_reboot_soft()
test_reboot_soft_with_soft_in_progress_raises_conflict()
test_rebuild_accepted_minimum()
test_rebuild_accepted_minimum_pass_disabled()
test_rebuild_accepted_with_bad_metadata()
test_rebuild_accepted_with_metadata()
test_rebuild_accessIP()
test_rebuild_admin_pass()
test_rebuild_admin_pass_pass_disabled()
test_rebuild_bad_entity()
test_rebuild_bad_personality()
test_rebuild_instance_with_image_href_uses_uuid()
test_rebuild_instance_with_image_uuid()
test_rebuild_personality()
test_rebuild_proper_kernel_ram()
test_rebuild_raises_conflict_on_invalid_state()
test_rebuild_server_not_found()
test_rebuild_when_kernel_not_exists()
test_rebuild_with_bad_image()
test_rebuild_with_too_large_metadata()
test_resize_raises_conflict_on_invalid_state()
test_resize_server()
test_resize_server_no_flavor()
test_resize_server_no_flavor_ref()
test_resize_with_image_exceptions()
test_resize_with_server_not_found()
test_resize_with_too_many_instances()
test_revert_resize_migration_not_found()
test_revert_resize_raises_conflict_on_invalid_state()
test_revert_resize_server()
test_revert_resize_server_not_found()
test_server_change_password()
test_server_change_password_bad_request()
test_server_change_password_empty_string()
test_server_change_password_none()
test_server_change_password_not_a_string()
test_server_change_password_pass_disabled()
class TestServerActionXMLDeserializer(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_change_pass()
test_change_pass_empty_pass()
test_change_pass_no_pass()
test_confirm_resize()
test_corrupt_xml()

Should throw a 400 error on corrupt xml.

test_create_image()
test_create_image_with_metadata()
test_reboot()
test_reboot_no_type()
test_rebuild()
test_rebuild_blank_name()
test_rebuild_minimum()
test_rebuild_no_imageRef()
test_resize()
test_resize_no_flavor_ref()
test_revert_resize()
instance_update(context, instance_uuid, kwargs)
return_server_not_found(*arg, **kwarg)

Previous topic

The nova.tests.api.openstack.compute.test_limits Module

Next topic

The nova.tests.api.openstack.compute.test_server_metadata Module

This Page