This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

The nova.tests.test_metadata Module

Tests for the testing the metadata code.

class nova.tests.test_metadata.MetadataTestCase(methodName='runTest')

Bases: nova.test.TestCase

Test that metadata is returning proper values.

request(relative_url)
setUp()
test_base()
test_local_hostname_fqdn()
test_security_groups()
test_user_data()
test_user_data_invalid_url()
test_user_data_non_existing_fixed_address()
test_user_data_none_fixed_address()
test_user_data_with_use_forwarded_header()
nova.tests.test_metadata.return_non_existing_server_by_address(context, address)