The nova.tests.test_policy Module

Test of Policy Engine For Nova.

class DefaultPolicyTestCase(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_default_not_found()
test_not_found_policy_calls_default()
test_policy_called()
class IsAdminCheckTestCase(*args, **kwargs)

Bases: nova.test.TestCase

test_call_false()
test_call_true()
test_init_false()
test_init_true()
class PolicyFileTestCase(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_modified_policy_reloads()
class PolicyTestCase(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_early_AND_enforcement()
test_early_OR_enforcement()
test_enforce_bad_action_noraise()
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