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

class VersionsSerializerTests(*args, **kwargs)

Bases: nova.test.TestCase

test_version_detail_atom_serializer()
test_versions_list_atom_serializer()
test_versions_list_xml_serializer()
test_versions_multi_xml_serializer()
class VersionsTest(*args, **kwargs)

Bases: nova.test.TestCase

test_get_version_2_detail()
test_get_version_2_detail_atom()
test_get_version_2_detail_content_type()
test_get_version_2_detail_xml()
test_get_version_list()
test_get_version_list_302()
test_get_version_list_atom()
test_get_version_list_xml()
test_multi_choice_image()
test_multi_choice_image_xml()
test_multi_choice_server()
test_multi_choice_server_atom()

Make sure multi choice responses do not have content-type application/atom+xml (should use default of json)

class VersionsViewBuilderTests(*args, **kwargs)

Bases: nova.test.TestCase

test_generate_href()
test_view_builder()

Previous topic

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

Next topic

The nova.tests.api.openstack.fakes Module

This Page