Previous topic

The cinder.tests.test_nfs Module

Next topic

The cinder.tests.test_quota Module

This Page

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

The cinder.tests.test_policy Module

Test of Policy Engine For Cinder

class DefaultPolicyTestCase(methodName='runTest')

Bases: cinder.test.TestCase

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

Bases: cinder.test.TestCase

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

Bases: cinder.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()