The nova.tests.api.test_auth Module

class TestKeystoneMiddlewareRoles(methodName='runTest')

Bases: nova.test.TestCase

setUp()
test_deprecated_role()

Test fallback to older role header

test_no_role_headers()

Test with no role headers set

test_role_empty()
test_roles()

Test that the newer style role header takes precedence

test_roles_empty()
class TestNovaKeystoneContextMiddleware(methodName='runTest')

Bases: nova.test.TestCase

setUp()
test_invalid_service_catalog()
test_no_user_or_user_id()
test_user_id_only()
test_user_id_trumps_user()
test_user_only()

Previous topic

The nova.tests.api.openstack.volume.test_volumes Module

Next topic

The nova.tests.api.test_sizelimit Module

This Page