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()