The nova.tests.test_policy Module

Test of Policy Engine For Nova

class DefaultPolicyTestCase(methodName='runTest')

Bases: nova.test.TestCase

setUp()
tearDown()
test_default_not_found()
test_not_found_policy_calls_default()
test_policy_called()
class PolicyFileTestCase(methodName='runTest')

Bases: nova.test.TestCase

setUp()
tearDown()
test_modified_policy_reloads()
class PolicyTestCase(methodName='runTest')

Bases: nova.test.TestCase

setUp()
tearDown()
test_early_AND_enforcement()
test_early_OR_enforcement()
test_enforce_bad_action_throws()
test_enforce_good_action()
test_enforce_http_false()
test_enforce_http_true()
test_enforce_nonexistent_action_throws()
test_ignore_case_role_check()
test_templatized_enforcement()

Previous topic

The nova.tests.test_plugin_api_extensions Module

Next topic

The nova.tests.test_powervm Module

This Page