The nova.tests.api.openstack.compute.contrib.test_instance_actions Module

class InstanceActionsPolicyTest(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_get_action_restricted_by_project()
test_list_actions_restricted_by_project()
class InstanceActionsSerializerTest(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_instance_action_events_serializer()
test_instance_action_serializer()
test_instance_actions_serializer()
class InstanceActionsTest(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_action_not_found()
test_get_action_with_events_allowed()
test_get_action_with_events_not_allowed()
test_instance_not_found()
test_list_actions()
format_action(action)

Remove keys that aren’t serialized.

format_event(event)

Remove keys that aren’t serialized.

Previous topic

The nova.tests.api.openstack.compute.contrib.test_image_size Module

Next topic

The nova.tests.api.openstack.compute.contrib.test_instance_usage_audit_log Module

This Page