keystone.tests.protection.v3 package

Submodules

keystone.tests.protection.v3.test_access_rules module

class keystone.tests.protection.v3.test_access_rules.ProjectAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_access_rules._UserAccessRuleTests, keystone.tests.protection.v3.test_access_rules._ProjectUsersTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_access_rules.ProjectMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_access_rules._UserAccessRuleTests, keystone.tests.protection.v3.test_access_rules._ProjectUsersTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_access_rules.ProjectReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_access_rules._UserAccessRuleTests, keystone.tests.protection.v3.test_access_rules._ProjectUsersTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_access_rules.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_access_rules._SystemUserAccessRuleTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_delete_access_rules_for_others()[source]
test_user_cannot_delete_non_existent_access_rule_not_found()[source]
class keystone.tests.protection.v3.test_access_rules.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_access_rules._SystemUserAccessRuleTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_cannot_delete_access_rules_for_others()[source]
test_user_cannot_delete_non_existent_access_rule_forbidden()[source]
class keystone.tests.protection.v3.test_access_rules.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_access_rules._SystemUserAccessRuleTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_cannot_delete_access_rules_for_others()[source]
test_user_cannot_delete_non_existent_access_rule_forbidden()[source]

keystone.tests.protection.v3.test_application_credential module

class keystone.tests.protection.v3.test_application_credential.DomainAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.protection.v3.test_application_credential._TestAppCredBase, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_application_credential._DomainAndProjectUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_application_credential.DomainMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.protection.v3.test_application_credential._TestAppCredBase, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_application_credential._DomainAndProjectUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_application_credential.DomainReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.protection.v3.test_application_credential._TestAppCredBase, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_application_credential._DomainAndProjectUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_application_credential.OwnerTests(*args, **kwargs)[source]

Bases: keystone.tests.protection.v3.test_application_credential._TestAppCredBase, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_application_credential._SystemUserAndOwnerTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_create_application_credential_by_owner()[source]
test_owner_can_delete_application_credential()[source]
test_user_cannot_delete_application_credential_for_another_user()[source]
test_user_cannot_lookup_application_credential_for_another_user()[source]
class keystone.tests.protection.v3.test_application_credential.ProjectAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.protection.v3.test_application_credential._TestAppCredBase, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_application_credential._DomainAndProjectUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_application_credential.ProjectMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.protection.v3.test_application_credential._TestAppCredBase, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_application_credential._DomainAndProjectUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_application_credential.ProjectReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.protection.v3.test_application_credential._TestAppCredBase, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_application_credential._DomainAndProjectUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_application_credential.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.protection.v3.test_application_credential._TestAppCredBase, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_application_credential._SystemUserAndOwnerTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_system_admin_can_delete_application_credential_for_user()[source]
class keystone.tests.protection.v3.test_application_credential.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.protection.v3.test_application_credential._TestAppCredBase, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_application_credential._SystemUserAndOwnerTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_system_reader_cannot_delete_application_credential_for_user()[source]
class keystone.tests.protection.v3.test_application_credential.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.protection.v3.test_application_credential._TestAppCredBase, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_application_credential._SystemUserAndOwnerTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_system_reader_cannot_delete_application_credential_for_user()[source]

keystone.tests.protection.v3.test_assignment module

class keystone.tests.protection.v3.test_assignment.DomainAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_assignment._AssignmentTestUtilities, keystone.tests.protection.v3.test_assignment._DomainUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_assignment.DomainMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_assignment._AssignmentTestUtilities, keystone.tests.protection.v3.test_assignment._DomainUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_assignment.DomainReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_assignment._AssignmentTestUtilities, keystone.tests.protection.v3.test_assignment._DomainUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_assignment.ProjectAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_assignment._AssignmentTestUtilities, keystone.tests.protection.v3.test_assignment._ProjectUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_list_assignments_for_subtree_on_own_project()[source]
test_user_cannot_list_assignments_for_subtree_on_other_project()[source]
class keystone.tests.protection.v3.test_assignment.ProjectMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_assignment._AssignmentTestUtilities, keystone.tests.protection.v3.test_assignment._ProjectUserTests, keystone.tests.protection.v3.test_assignment._ProjectReaderMemberTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_assignment.ProjectReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_assignment._AssignmentTestUtilities, keystone.tests.protection.v3.test_assignment._ProjectUserTests, keystone.tests.protection.v3.test_assignment._ProjectReaderMemberTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_assignment.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_assignment._AssignmentTestUtilities, keystone.tests.protection.v3.test_assignment._SystemUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_assignment.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_assignment._AssignmentTestUtilities, keystone.tests.protection.v3.test_assignment._SystemUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_assignment.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_assignment._AssignmentTestUtilities, keystone.tests.protection.v3.test_assignment._SystemUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_consumer module

class keystone.tests.protection.v3.test_consumer.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_consumer._SystemUserOauth1ConsumerTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_consumer()[source]
test_user_can_delete_consumer()[source]
test_user_can_update_consumer()[source]
class keystone.tests.protection.v3.test_consumer.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_consumer._SystemUserOauth1ConsumerTests, keystone.tests.protection.v3.test_consumer._SystemReaderAndMemberOauth1ConsumerTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_consumer.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_consumer._SystemUserOauth1ConsumerTests, keystone.tests.protection.v3.test_consumer._SystemReaderAndMemberOauth1ConsumerTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_credentials module

class keystone.tests.protection.v3.test_credentials.ProjectAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_credentials._UserCredentialTests, keystone.tests.protection.v3.test_credentials._ProjectUsersTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_credentials.ProjectAdminTestsEnforceScopeFalse(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_credentials._UserCredentialTests, keystone.tests.protection.v3.test_credentials._SystemUserCredentialTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_credentials.ProjectMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_credentials._UserCredentialTests, keystone.tests.protection.v3.test_credentials._ProjectUsersTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_credentials.ProjectMemberTestsEnforceScopeFalse(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_credentials._UserCredentialTests, keystone.tests.protection.v3.test_credentials._ProjectUsersTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_credentials.ProjectReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_credentials._UserCredentialTests, keystone.tests.protection.v3.test_credentials._ProjectUsersTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_credentials.ProjectReaderTestsEnforceScopeFalse(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_credentials._UserCredentialTests, keystone.tests.protection.v3.test_credentials._ProjectUsersTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_credentials.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_credentials._UserCredentialTests, keystone.tests.protection.v3.test_credentials._SystemUserCredentialTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_credentials_for_other_users()[source]
test_user_can_delete_credentials_for_others()[source]
test_user_can_update_credentials_for_others()[source]
test_user_cannot_delete_non_existant_credential_not_found()[source]
test_user_cannot_update_non_existant_credential_not_found()[source]
class keystone.tests.protection.v3.test_credentials.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_credentials._UserCredentialTests, keystone.tests.protection.v3.test_credentials._SystemUserCredentialTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_cannot_create_credentials_for_other_users()[source]
test_user_cannot_delete_credentials_for_others()[source]
test_user_cannot_delete_non_existant_credential_forbidden()[source]
test_user_cannot_update_credentials_for_others()[source]
test_user_cannot_update_non_existant_credential_forbidden()[source]
class keystone.tests.protection.v3.test_credentials.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_credentials._UserCredentialTests, keystone.tests.protection.v3.test_credentials._SystemUserCredentialTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_cannot_create_credentials_for_other_users()[source]
test_user_cannot_delete_credentials_for_others()[source]
test_user_cannot_delete_non_existant_credential_forbidden()[source]
test_user_cannot_update_credentials_for_others()[source]
test_user_cannot_update_non_existant_credential_forbidden()[source]

keystone.tests.protection.v3.test_domain_config module

class keystone.tests.protection.v3.test_domain_config.DomainUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_domain_config._SystemDomainAndProjectUserDomainConfigTests, keystone.tests.protection.v3.test_domain_config._DomainAndProjectUserDomainConfigTests, keystone.tests.protection.v3.test_domain_config._SystemReaderMemberDomainAndProjectUserDomainConfigTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_domain_config.ProjectUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_domain_config._SystemDomainAndProjectUserDomainConfigTests, keystone.tests.protection.v3.test_domain_config._DomainAndProjectUserDomainConfigTests, keystone.tests.protection.v3.test_domain_config._SystemReaderMemberDomainAndProjectUserDomainConfigTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_domain_config.ProjectUserTestsWithoutEnforceScope(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_domain_config._SystemDomainAndProjectUserDomainConfigTests, keystone.tests.protection.v3.test_domain_config._DomainAndProjectUserDomainConfigTests, keystone.tests.protection.v3.test_domain_config._SystemReaderMemberDomainAndProjectUserDomainConfigTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_domain_config.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_domain_config._SystemUserDomainConfigTests, keystone.tests.protection.v3.test_domain_config._SystemDomainAndProjectUserDomainConfigTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_domain_config()[source]
test_user_can_delete_domain_config()[source]
test_user_can_delete_domain_config_option()[source]
test_user_can_delete_domain_group_config()[source]
test_user_can_update_domain_config()[source]
test_user_can_update_domain_config_option()[source]
test_user_can_update_domain_group_config()[source]
test_user_cannot_create_invalid_domain_config()[source]
test_user_cannot_delete_invalid_domain_config()[source]
class keystone.tests.protection.v3.test_domain_config.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_domain_config._SystemUserDomainConfigTests, keystone.tests.protection.v3.test_domain_config._SystemReaderMemberDomainAndProjectUserDomainConfigTests, keystone.tests.protection.v3.test_domain_config._SystemDomainAndProjectUserDomainConfigTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_domain_config.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_domain_config._SystemUserDomainConfigTests, keystone.tests.protection.v3.test_domain_config._SystemReaderMemberDomainAndProjectUserDomainConfigTests, keystone.tests.protection.v3.test_domain_config._SystemDomainAndProjectUserDomainConfigTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_domain_roles module

class keystone.tests.protection.v3.test_domain_roles.DomainUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_domain_roles._DomainAndProjectUserDomainRoleTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_domain_roles.ProjectUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_domain_roles._DomainAndProjectUserDomainRoleTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_domain_roles.ProjectUserTestsWithoutEnforceScope(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_domain_roles._DomainAndProjectUserDomainRoleTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_domain_roles.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_domain_roles._SystemUserDomainRoleTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_roles()[source]
test_user_can_delete_roles()[source]
test_user_can_update_roles()[source]
class keystone.tests.protection.v3.test_domain_roles.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_domain_roles._SystemUserDomainRoleTests, keystone.tests.protection.v3.test_domain_roles._SystemReaderAndMemberDomainRoleTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_domain_roles.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_domain_roles._SystemUserDomainRoleTests, keystone.tests.protection.v3.test_domain_roles._SystemReaderAndMemberDomainRoleTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_domains module

class keystone.tests.protection.v3.test_domains.DomainUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_domains._DomainAndProjectUserDomainTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_domains.ProjectAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_domains._DomainAndProjectUserDomainTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_domains.ProjectMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_domains._DomainAndProjectUserDomainTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_domains.ProjectReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_domains._DomainAndProjectUserDomainTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_domains.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_domains._SystemUserDomainTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_a_domain()[source]
test_user_can_delete_a_domain()[source]
test_user_can_update_a_domain()[source]
class keystone.tests.protection.v3.test_domains.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_domains._SystemUserDomainTests, keystone.tests.protection.v3.test_domains._SystemMemberAndReaderDomainTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_domains.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_domains._SystemUserDomainTests, keystone.tests.protection.v3.test_domains._SystemMemberAndReaderDomainTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_ec2_credential module

class keystone.tests.protection.v3.test_ec2_credential.ProjectAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_ec2_credential._UserEC2CredentialTests, keystone.tests.protection.v3.test_ec2_credential._SystemReaderAndMemberTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_ec2_credential.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_ec2_credential._SystemUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_ec2_credentials_for_others()[source]
test_user_can_delete_ec2_credentials_for_others()[source]
test_user_can_list_ec2_credentials_for_others()[source]
class keystone.tests.protection.v3.test_ec2_credential.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_ec2_credential._SystemUserTests, keystone.tests.protection.v3.test_ec2_credential._SystemReaderAndMemberTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_ec2_credential.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_ec2_credential._SystemUserTests, keystone.tests.protection.v3.test_ec2_credential._SystemReaderAndMemberTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_endpoint_group module

class keystone.tests.protection.v3.test_endpoint_group.DomainUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_endpoint_group._DomainAndProjectUserEndpointGroupTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_endpoint_group.ProjectUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_endpoint_group._DomainAndProjectUserEndpointGroupTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_endpoint_group.ProjectUserTestsWithoutEnforceScope(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_endpoint_group._DomainAndProjectUserEndpointGroupTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_endpoint_group.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_endpoint_group._SystemUserEndpointGroupsTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_remove_endpoint_group_from_project()[source]
test_user_add_endpoint_group_to_project()[source]
test_user_can_create_endpoint_group()[source]
test_user_can_delete_endpoint_group()[source]
test_user_can_update_endpoint_group()[source]
class keystone.tests.protection.v3.test_endpoint_group.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_endpoint_group._SystemUserEndpointGroupsTests, keystone.tests.protection.v3.test_endpoint_group._SystemReaderAndMemberUserEndpointGroupsTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_endpoint_group.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_endpoint_group._SystemUserEndpointGroupsTests, keystone.tests.protection.v3.test_endpoint_group._SystemReaderAndMemberUserEndpointGroupsTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_endpoints module

class keystone.tests.protection.v3.test_endpoints.DomainUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_endpoints._DomainAndProjectUserEndpointTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_endpoints.ProjectUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_endpoints._DomainAndProjectUserEndpointTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_endpoints.ProjectUserTestsWithoutEnforceScope(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_endpoints._DomainAndProjectUserEndpointTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_endpoints.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_endpoints._SystemUserEndpointTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_endpoints()[source]
test_user_can_delete_endpoints()[source]
test_user_can_update_endpoints()[source]
class keystone.tests.protection.v3.test_endpoints.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_endpoints._SystemUserEndpointTests, keystone.tests.protection.v3.test_endpoints._SystemReaderAndMemberUserEndpointTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_endpoints.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_endpoints._SystemUserEndpointTests, keystone.tests.protection.v3.test_endpoints._SystemReaderAndMemberUserEndpointTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_grants module

class keystone.tests.protection.v3.test_grants.DomainAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_grants._DomainUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_can_create_grant_for_group_on_project()[source]
test_can_create_grant_for_group_own_domain_on_own_domain()[source]
test_can_create_grant_for_user_on_project()[source]
test_can_create_grant_for_user_own_domain_on_own_domain()[source]
test_can_revoke_grant_from_group_on_project()[source]
test_can_revoke_grant_from_user_on_project()[source]
test_cannot_revoke_grant_from_group_on_domain()[source]
class keystone.tests.protection.v3.test_grants.DomainMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_grants._DomainUserTests, keystone.tests.protection.v3.test_grants._DomainMemberAndReaderTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_grants.DomainReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_grants._DomainUserTests, keystone.tests.protection.v3.test_grants._DomainMemberAndReaderTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_grants.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_grants._SystemUserGrantTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_can_create_grant_for_group_on_domain()[source]
test_can_create_grant_for_group_on_project()[source]
test_can_create_grant_for_user_on_domain()[source]
test_can_create_grant_for_user_on_project()[source]
test_can_revoke_grant_from_group_on_domain()[source]
test_can_revoke_grant_from_group_on_project()[source]
test_can_revoke_grant_from_user_on_domain()[source]
test_can_revoke_grant_from_user_on_project()[source]
class keystone.tests.protection.v3.test_grants.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_grants._SystemUserGrantTests, keystone.tests.protection.v3.test_grants._SystemMemberAndReaderGrantTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_grants.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_grants._SystemUserGrantTests, keystone.tests.protection.v3.test_grants._SystemMemberAndReaderGrantTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_groups module

class keystone.tests.protection.v3.test_groups.DomainAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_groups._DomainUserGroupTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_add_user_in_own_domain_to_group_in_own_domain()[source]
test_user_can_create_group_for_own_domain()[source]
test_user_can_delete_group_in_own_domain()[source]
test_user_can_remove_user_in_own_domain_from_group_in_own_domain()[source]
test_user_can_update_group_in_own_domain()[source]
test_user_cannot_add_non_existent_user_to_group_forbidden()[source]
test_user_cannot_add_user_from_non_existent_group_forbidden()[source]
test_user_cannot_add_user_other_domain_to_group_own_domain()[source]
test_user_cannot_add_user_own_domain_to_group_other_domain()[source]
test_user_cannot_create_group_for_other_domain()[source]
test_user_cannot_delete_group_in_other_domain()[source]
test_user_cannot_remove_non_existent_user_from_group_forbidden()[source]
test_user_cannot_remove_user_from_non_existent_group_forbidden()[source]
test_user_cannot_remove_user_other_domain_from_group_own_domain()[source]
test_user_cannot_remove_user_own_domain_from_group_other_domain()[source]
test_user_cannot_update_group_in_other_domain()[source]
class keystone.tests.protection.v3.test_groups.DomainMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_groups._DomainUserGroupTests, keystone.tests.protection.v3.test_groups._SystemAndDomainMemberAndReaderGroupTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_groups.DomainReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_groups._DomainUserGroupTests, keystone.tests.protection.v3.test_groups._SystemAndDomainMemberAndReaderGroupTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_groups.ProjectUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_get_list_their_own_groups()[source]
test_user_cannot_check_if_user_in_group()[source]
test_user_cannot_get_a_group()[source]
test_user_cannot_get_non_existent_group_forbidden()[source]
test_user_cannot_list_group_members()[source]
test_user_cannot_list_groups()[source]
test_user_cannot_list_groups_for_other_users()[source]
class keystone.tests.protection.v3.test_groups.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_groups._SystemUserGroupTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_add_users_to_group()[source]
test_user_can_create_group()[source]
test_user_can_delete_group()[source]
test_user_can_remove_users_from_group()[source]
test_user_can_update_group()[source]
class keystone.tests.protection.v3.test_groups.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_groups._SystemUserGroupTests, keystone.tests.protection.v3.test_groups._SystemAndDomainMemberAndReaderGroupTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_groups.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_groups._SystemUserGroupTests, keystone.tests.protection.v3.test_groups._SystemAndDomainMemberAndReaderGroupTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_identity_providers module

class keystone.tests.protection.v3.test_identity_providers.DomainUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_identity_providers._DomainAndProjectUserIdentityProviderTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_identity_providers.ProjectUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_identity_providers._DomainAndProjectUserIdentityProviderTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_identity_providers.ProjectUserTestsWithoutEnforceScope(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_identity_providers._DomainAndProjectUserIdentityProviderTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_identity_providers.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_identity_providers._SystemUserIdentityProviderTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_identity_providers()[source]
test_user_can_delete_identity_providers()[source]
test_user_can_update_identity_providers()[source]
class keystone.tests.protection.v3.test_identity_providers.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_identity_providers._SystemUserIdentityProviderTests, keystone.tests.protection.v3.test_identity_providers._SystemReaderAndMemberIdentityProviderTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_identity_providers.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_identity_providers._SystemUserIdentityProviderTests, keystone.tests.protection.v3.test_identity_providers._SystemReaderAndMemberIdentityProviderTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_implied_roles module

class keystone.tests.protection.v3.test_implied_roles.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_implied_roles._ImpliedRolesSetupMixin, keystone.tests.protection.v3.test_implied_roles._SystemUserImpliedRoleTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_implied_roles()[source]
test_user_can_delete_implied_roles()[source]
class keystone.tests.protection.v3.test_implied_roles.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_implied_roles._ImpliedRolesSetupMixin, keystone.tests.protection.v3.test_implied_roles._SystemUserImpliedRoleTests, keystone.tests.protection.v3.test_implied_roles._SystemReaderAndMemberImpliedRoleTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_implied_roles.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_implied_roles._ImpliedRolesSetupMixin, keystone.tests.protection.v3.test_implied_roles._SystemUserImpliedRoleTests, keystone.tests.protection.v3.test_implied_roles._SystemReaderAndMemberImpliedRoleTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_limits module

class keystone.tests.protection.v3.test_limits.DomainUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_get_domain_limits()[source]
test_user_can_get_project_limits_within_domain()[source]
test_user_can_list_limits_within_domain()[source]
test_user_cannot_create_limits_for_domain()[source]
test_user_cannot_create_limits_for_other_domain()[source]
test_user_cannot_create_limits_for_projects_in_domain()[source]
test_user_cannot_create_limits_for_projects_outside_domain()[source]
test_user_cannot_delete_limits_for_domain()[source]
test_user_cannot_delete_limits_for_other_domain()[source]
test_user_cannot_delete_limits_for_projects_in_domain()[source]
test_user_cannot_delete_limits_for_projects_outside_domain()[source]
test_user_cannot_get_domain_limits_for_other_domain()[source]
test_user_cannot_get_project_limit_outside_domain()[source]
test_user_cannot_list_limits_outside_domain()[source]
test_user_cannot_update_limits_for_domain()[source]
test_user_cannot_update_limits_for_other_domain()[source]
test_user_cannot_update_limits_for_projects_in_domain()[source]
test_user_cannot_update_limits_for_projects_outside_domain()[source]
class keystone.tests.protection.v3.test_limits.ProjectUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_get_limit_model()[source]
test_user_can_get_project_limit()[source]
test_user_can_list_limits()[source]
test_user_cannot_create_limits()[source]
test_user_cannot_delete_limits()[source]
test_user_cannot_get_domain_limit()[source]
test_user_cannot_get_project_limit_without_role_assignment()[source]
test_user_cannot_list_limits_without_project_role_assignment()[source]
test_user_cannot_update_limits()[source]
class keystone.tests.protection.v3.test_limits.ProjectUserTestsWithoutEnforceScope(*args, **kwargs)[source]

Bases: keystone.tests.protection.v3.test_limits.ProjectUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_limits.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_limits()[source]
test_user_can_delete_limits()[source]
test_user_can_get_a_limit()[source]
test_user_can_list_limits()[source]
test_user_can_update_limits()[source]
class keystone.tests.protection.v3.test_limits.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_limits._UserLimitTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_limits.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_limits._UserLimitTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_mappings module

class keystone.tests.protection.v3.test_mappings.DomainUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_mappings._DomainAndProjectUserMappingTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_mappings.ProjectUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_mappings._DomainAndProjectUserMappingTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_mappings.ProjectUserTestsWithoutEnforceScope(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_mappings._DomainAndProjectUserMappingTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_mappings.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_mappings._SystemUserMappingTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_mappings()[source]
test_user_can_delete_mappings()[source]
test_user_can_update_mappings()[source]
class keystone.tests.protection.v3.test_mappings.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_mappings._SystemUserMappingTests, keystone.tests.protection.v3.test_mappings._SystemReaderAndMemberUserMappingTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_mappings.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_mappings._SystemUserMappingTests, keystone.tests.protection.v3.test_mappings._SystemReaderAndMemberUserMappingTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_cannot_create_mappings()[source]
test_user_cannot_delete_mappings()[source]
test_user_cannot_update_mappings()[source]

keystone.tests.protection.v3.test_policy module

class keystone.tests.protection.v3.test_policy.DomainUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_policy._DomainAndProjectUserPolicyTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_policy.ProjectUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_policy._DomainAndProjectUserPolicyTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_policy.ProjectUserTestsWithoutEnforceScope(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_policy._DomainAndProjectUserPolicyTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_policy.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_policy._SystemUserPoliciesTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_policy()[source]
test_user_can_delete_policy()[source]
test_user_can_update_policy()[source]
class keystone.tests.protection.v3.test_policy.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_policy._SystemUserPoliciesTests, keystone.tests.protection.v3.test_policy._SystemReaderAndMemberPoliciesTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_policy.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_policy._SystemUserPoliciesTests, keystone.tests.protection.v3.test_policy._SystemReaderAndMemberPoliciesTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_policy_association module

class keystone.tests.protection.v3.test_policy_association.DomainUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_policy_association._DomainAndProjectUserPolicyAssociationsTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_policy_association.ProjectUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_policy_association._DomainAndProjectUserPolicyAssociationsTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_policy_association.ProjectUserTestsWithoutEnforceScope(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_policy_association._DomainAndProjectUserPolicyAssociationsTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_policy_association.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_policy_association._SystemUserPoliciesAssociationTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_policy_association_for_endpoint()[source]
test_user_can_create_policy_association_for_region_and_service()[source]
test_user_can_create_policy_association_for_service()[source]
test_user_can_delete_policy_association_for_endpoint()[source]
test_user_can_delete_policy_association_for_region_and_service()[source]
test_user_can_delete_policy_association_for_service()[source]
class keystone.tests.protection.v3.test_policy_association.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_policy_association._SystemUserPoliciesAssociationTests, keystone.tests.protection.v3.test_policy_association._SystemReaderAndMemberPoliciesAssociationTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_policy_association.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_policy_association._SystemUserPoliciesAssociationTests, keystone.tests.protection.v3.test_policy_association._SystemReaderAndMemberPoliciesAssociationTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_project_endpoint module

class keystone.tests.protection.v3.test_project_endpoint.DomainUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_project_endpoint._DomainAndProjectUserProjectEndpointTests, keystone.tests.protection.v3.test_project_endpoint._SystemReaderAndMemberProjectEndpointTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_project_endpoint.ProjectUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_project_endpoint._DomainAndProjectUserProjectEndpointTests, keystone.tests.protection.v3.test_project_endpoint._SystemReaderAndMemberProjectEndpointTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_project_endpoint.ProjectUserTestsWithoutEnforceScope(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_project_endpoint._DomainAndProjectUserProjectEndpointTests, keystone.tests.protection.v3.test_project_endpoint._SystemReaderAndMemberProjectEndpointTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_project_endpoint.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_project_endpoint._SystemUserProjectEndpointTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_add_endpoint_to_project()[source]
test_user_can_remove_endpoint_from_project()[source]
class keystone.tests.protection.v3.test_project_endpoint.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_project_endpoint._SystemUserProjectEndpointTests, keystone.tests.protection.v3.test_project_endpoint._SystemReaderAndMemberProjectEndpointTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_project_endpoint.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_project_endpoint._SystemUserProjectEndpointTests, keystone.tests.protection.v3.test_project_endpoint._SystemReaderAndMemberProjectEndpointTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_project_tags module

class keystone.tests.protection.v3.test_project_tags.DomainAdminUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_project_tags._DomainUserTagTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_project_tag_in_domain()[source]
test_user_can_delete_project_tag_in_domain()[source]
test_user_can_update_project_tag_in_domain()[source]
class keystone.tests.protection.v3.test_project_tags.DomainMemberUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_project_tags._DomainUserTagTests, keystone.tests.protection.v3.test_project_tags._DomainMemberAndReaderTagTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_project_tags.DomainReaderUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_project_tags._DomainUserTagTests, keystone.tests.protection.v3.test_project_tags._DomainMemberAndReaderTagTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_project_tags.ProjectAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_project_tags._ProjectUserTagTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_project_tag()[source]
test_user_can_delete_project_tag()[source]
test_user_can_update_project_tag()[source]
class keystone.tests.protection.v3.test_project_tags.ProjectMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_project_tags._ProjectUserTagTests, keystone.tests.protection.v3.test_project_tags._ProjectMemberAndReaderTagTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_project_tags.ProjectReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_project_tags._ProjectUserTagTests, keystone.tests.protection.v3.test_project_tags._ProjectMemberAndReaderTagTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_project_tags.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_project_tags._SystemUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_project_tag()[source]
test_user_can_delete_project_tag()[source]
test_user_can_update_project_tag()[source]
class keystone.tests.protection.v3.test_project_tags.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_project_tags._SystemUserTests, keystone.tests.protection.v3.test_project_tags._SystemMemberAndReaderTagTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_project_tags.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_project_tags._SystemUserTests, keystone.tests.protection.v3.test_project_tags._SystemMemberAndReaderTagTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_projects module

class keystone.tests.protection.v3.test_projects.DomainAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_projects._DomainUsersTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_projects_within_domain()[source]
test_user_can_delete_projects_within_domain()[source]
test_user_can_update_projects_within_domain()[source]
test_user_cannot_create_projects_in_other_domains()[source]
test_user_cannot_delete_non_existent_projects_forbidden()[source]
test_user_cannot_delete_projects_in_other_domain()[source]
test_user_cannot_update_non_existent_project_forbidden()[source]
test_user_cannot_update_projects_in_other_domain()[source]
class keystone.tests.protection.v3.test_projects.DomainMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_projects._DomainUsersTests, keystone.tests.protection.v3.test_projects._DomainMemberAndReaderProjectTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_projects.DomainReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_projects._DomainUsersTests, keystone.tests.protection.v3.test_projects._DomainMemberAndReaderProjectTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_projects.ProjectUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_get_their_project()[source]
test_user_can_list_their_projects()[source]
test_user_cannot_create_projects()[source]
test_user_cannot_delete_non_existent_project_forbidden()[source]
test_user_cannot_delete_projects()[source]
test_user_cannot_get_other_projects()[source]
test_user_cannot_list_projects()[source]
test_user_cannot_list_projects_for_others()[source]
test_user_cannot_update_non_existent_project_forbidden()[source]
test_user_cannot_update_projects()[source]
class keystone.tests.protection.v3.test_projects.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_projects._SystemUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_projects()[source]
test_user_can_delete_non_existent_project_not_found()[source]
test_user_can_delete_projects()[source]
test_user_can_list_their_projects()[source]
test_user_can_update_non_existent_project_not_found()[source]
test_user_can_update_projects()[source]
class keystone.tests.protection.v3.test_projects.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_projects._SystemUserTests, keystone.tests.protection.v3.test_projects._SystemMemberAndReaderProjectTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_projects.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_projects._SystemUserTests, keystone.tests.protection.v3.test_projects._SystemMemberAndReaderProjectTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_protocols module

class keystone.tests.protection.v3.test_protocols.DomainUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_protocols._CommonUtilities, keystone.tests.protection.v3.test_protocols._DomainAndProjectUserProtocolTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_protocols.ProjectUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_protocols._CommonUtilities, keystone.tests.protection.v3.test_protocols._DomainAndProjectUserProtocolTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_protocols.ProjectUserTestsWithoutEnforceScope(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_protocols._CommonUtilities, keystone.tests.protection.v3.test_protocols._DomainAndProjectUserProtocolTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_protocols.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_protocols._CommonUtilities, keystone.tests.protection.v3.test_protocols._SystemUserProtocolTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_protocols()[source]
test_user_can_delete_protocol()[source]
test_user_can_update_protocols()[source]
class keystone.tests.protection.v3.test_protocols.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_protocols._CommonUtilities, keystone.tests.protection.v3.test_protocols._SystemUserProtocolTests, keystone.tests.protection.v3.test_protocols._SystemReaderAndMemberProtocolTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_protocols.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_protocols._CommonUtilities, keystone.tests.protection.v3.test_protocols._SystemUserProtocolTests, keystone.tests.protection.v3.test_protocols._SystemReaderAndMemberProtocolTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_regions module

class keystone.tests.protection.v3.test_regions.DomainUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_regions._UserRegionTests, keystone.tests.protection.v3.test_regions._DomainAndProjectUserRegionTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_regions.ProjectUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_regions._UserRegionTests, keystone.tests.protection.v3.test_regions._DomainAndProjectUserRegionTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_regions.ProjectUserTestsWithoutEnforceScope(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_regions._UserRegionTests, keystone.tests.protection.v3.test_regions._DomainAndProjectUserRegionTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_regions.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_regions._UserRegionTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_regions()[source]
test_user_can_delete_regions()[source]
test_user_can_update_regions()[source]
class keystone.tests.protection.v3.test_regions.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_regions._UserRegionTests, keystone.tests.protection.v3.test_regions._SystemReaderAndMemberUserRegionTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_regions.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_regions._UserRegionTests, keystone.tests.protection.v3.test_regions._SystemReaderAndMemberUserRegionTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_registered_limits module

class keystone.tests.protection.v3.test_registered_limits.DomainUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_registered_limits._UserRegisteredLimitTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_registered_limits.ProjectUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_registered_limits._UserRegisteredLimitTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_registered_limits.ProjectUserTestsWithoutEnforceScope(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_registered_limits._UserRegisteredLimitTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_registered_limits.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_registered_limits()[source]
test_user_can_delete_registered_limits()[source]
test_user_can_get_a_registered_limit()[source]
test_user_can_list_registered_limits()[source]
test_user_can_update_registered_limits()[source]
class keystone.tests.protection.v3.test_registered_limits.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_registered_limits._UserRegisteredLimitTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_registered_limits.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_registered_limits._UserRegisteredLimitTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_roles module

class keystone.tests.protection.v3.test_roles.DomainUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_roles._DomainAndProjectUserRoleTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_roles.ProjectUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_roles._DomainAndProjectUserRoleTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_roles.ProjectUserTestsWithoutEnforceScope(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_roles._DomainAndProjectUserRoleTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_roles.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_roles._SystemUserRoleTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_roles()[source]
test_user_can_delete_roles()[source]
test_user_can_update_roles()[source]
class keystone.tests.protection.v3.test_roles.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_roles._SystemUserRoleTests, keystone.tests.protection.v3.test_roles._SystemReaderAndMemberRoleTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_roles.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_roles._SystemUserRoleTests, keystone.tests.protection.v3.test_roles._SystemReaderAndMemberRoleTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_service_providers module

class keystone.tests.protection.v3.test_service_providers.DomainUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_service_providers._DomainAndProjectUserServiceProviderTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_service_providers.ProjectUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_service_providers._DomainAndProjectUserServiceProviderTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_service_providers.ProjectUserTestsWithoutEnforceScope(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_service_providers._DomainAndProjectUserServiceProviderTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_service_providers.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_service_providers._SystemUserServiceProviderTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_service_providers()[source]
test_user_can_delete_service_providers()[source]
test_user_can_update_service_providers()[source]
class keystone.tests.protection.v3.test_service_providers.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_service_providers._SystemUserServiceProviderTests, keystone.tests.protection.v3.test_service_providers._SystemReaderAndMemberUserServiceProviderTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_service_providers.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_service_providers._SystemUserServiceProviderTests, keystone.tests.protection.v3.test_service_providers._SystemReaderAndMemberUserServiceProviderTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_services module

class keystone.tests.protection.v3.test_services.DomainUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_services._DomainAndProjectUserServiceTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_services.ProjectUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_services._DomainAndProjectUserServiceTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_services.ProjectUserTestsWithoutEnforceScope(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_services._DomainAndProjectUserServiceTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_services.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_services._SystemUserServiceTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_services()[source]
test_user_can_delete_services()[source]
test_user_can_update_services()[source]
class keystone.tests.protection.v3.test_services.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_services._SystemUserServiceTests, keystone.tests.protection.v3.test_services._SystemReaderAndMemberUserServiceTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_services.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_services._SystemUserServiceTests, keystone.tests.protection.v3.test_services._SystemReaderAndMemberUserServiceTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_system_assignments module

class keystone.tests.protection.v3.test_system_assignments.DomainUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_system_assignments._DomainAndProjectUserSystemAssignmentTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_system_assignments.ProjectAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_system_assignments._DomainAndProjectUserSystemAssignmentTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_system_assignments.ProjectMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_system_assignments._DomainAndProjectUserSystemAssignmentTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_system_assignments.ProjectReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_system_assignments._DomainAndProjectUserSystemAssignmentTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_system_assignments.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_system_assignments._SystemUserSystemAssignmentTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_grant_group_system_assignments()[source]
test_user_can_grant_system_assignments()[source]
test_user_can_revoke_group_system_assignments()[source]
test_user_can_revoke_system_assignments()[source]
class keystone.tests.protection.v3.test_system_assignments.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_system_assignments._SystemUserSystemAssignmentTests, keystone.tests.protection.v3.test_system_assignments._SystemMemberAndReaderSystemAssignmentTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_system_assignments.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_system_assignments._SystemUserSystemAssignmentTests, keystone.tests.protection.v3.test_system_assignments._SystemMemberAndReaderSystemAssignmentTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_tokens module

class keystone.tests.protection.v3.test_tokens.DomainUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_tokens._DomainAndProjectUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_tokens.ProjectUserTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_tokens._DomainAndProjectUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_tokens.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_tokens._SystemUserTokenTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_revoke_a_domain_scoped_token()[source]
test_user_can_revoke_a_project_scoped_token()[source]
test_user_can_revoke_a_system_scoped_token()[source]
class keystone.tests.protection.v3.test_tokens.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_tokens._SystemUserTokenTests, keystone.tests.protection.v3.test_tokens._SystemMemberAndReaderTokenTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_tokens.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_tokens._SystemUserTokenTests, keystone.tests.protection.v3.test_tokens._SystemMemberAndReaderTokenTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_trusts module

class keystone.tests.protection.v3.test_trusts.AdminTokenTests(*args, **kwargs)[source]

Bases: keystone.tests.protection.v3.test_trusts.TrustTests, keystone.tests.protection.v3.test_trusts._AdminTestsMixin

Tests for the is_admin user.

The Trusts API has hardcoded is_admin checks that we need to ensure are preserved through the system-scope transition.

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_admin_can_delete_trust_for_other_user()[source]
test_admin_can_get_non_existent_trust_not_found()[source]
test_admin_cannot_get_trust_for_other_user()[source]
test_admin_cannot_get_trust_role_for_other_user()[source]
test_admin_cannot_list_trust_roles_for_other_user()[source]
class keystone.tests.protection.v3.test_trusts.DomainUserTests(*args, **kwargs)[source]

Bases: keystone.tests.protection.v3.test_trusts.TrustTests

Tests for all domain users.

Domain users should not be able to interact with trusts at all.

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_trustee_cannot_list_trusts_for_trustor()[source]
test_trustor_cannot_list_trusts_for_trustee()[source]
test_user_can_get_non_existent_trust_not_found()[source]
test_user_cannot_create_trust()[source]
test_user_cannot_delete_trust()[source]
test_user_cannot_get_trust()[source]
test_user_cannot_get_trust_role()[source]
test_user_cannot_list_all_trusts()[source]
test_user_cannot_list_trust_roles()[source]
class keystone.tests.protection.v3.test_trusts.ProjectUserTests(*args, **kwargs)[source]

Bases: keystone.tests.protection.v3.test_trusts.TrustTests

Tests for all project users.

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_trustee_can_get_trust_role()[source]
test_trustee_can_get_trust_role_overridden_default()[source]
test_trustee_can_list_trust_roles()[source]
test_trustee_can_list_trust_roles_overridden_default()[source]
test_trustee_cannot_create_trust()[source]
test_trustee_cannot_delete_trust()[source]
test_trustee_cannot_delete_trust_overridden_default()[source]
test_trustee_cannot_list_trusts_for_trustor()[source]
test_trustee_cannot_list_trusts_for_trustor_overridden_default()[source]
test_trustor_can_create_trust()[source]
test_trustor_can_delete_trust()[source]
test_trustor_can_delete_trust_overridden_default()[source]
test_trustor_can_get_trust_role()[source]
test_trustor_can_get_trust_role_overridden_default()[source]
test_trustor_can_list_trust_roles()[source]
test_trustor_can_list_trust_roles_overridden_default()[source]
test_trustor_cannot_list_trusts_for_trustee()[source]
test_trustor_cannot_list_trusts_for_trustee_overridden_default()[source]
test_user_can_get_non_existent_trust_not_found()[source]
test_user_can_get_trust_delegated_to_them()[source]
test_user_can_get_trust_delegated_to_them_overridden_default()[source]
test_user_can_get_trust_of_whom_they_are_the_trustor()[source]
test_user_can_get_trust_of_whom_they_are_the_trustor_overridden()[source]
test_user_can_list_trusts_delegated_to_them()[source]
test_user_can_list_trusts_of_whom_they_are_the_trustor()[source]
test_user_cannot_delete_trust_for_other_user()[source]
test_user_cannot_delete_trust_for_other_user_overridden_default()[source]
test_user_cannot_get_another_users_trust()[source]
test_user_cannot_get_trust_role_for_other_user()[source]
test_user_cannot_get_trust_role_other_user_overridden_default()[source]
test_user_cannot_list_all_trusts()[source]
test_user_cannot_list_all_trusts_overridden_default()[source]
test_user_cannot_list_trust_roles_for_other_user()[source]
test_user_cannot_list_trust_roles_other_user_overridden_default()[source]
test_user_cannot_list_trusts_for_other_trustee()[source]
test_user_cannot_list_trusts_for_other_trustor()[source]
test_user_cannot_list_trusts_for_other_trustor_overridden()[source]
test_user_cannot_list_trusts_for_trustee_overridden_default()[source]
class keystone.tests.protection.v3.test_trusts.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.protection.v3.test_trusts.TrustTests, keystone.tests.protection.v3.test_trusts._AdminTestsMixin, keystone.tests.protection.v3.test_trusts._SystemUserTests

Tests for system admin users.

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_admin_can_delete_trust_for_other_user()[source]
test_admin_cannot_delete_trust_for_user_overridden_defaults()[source]
test_admin_cannot_get_trust_for_other_user_overridden_defaults()[source]
test_admin_cannot_get_trust_role_for_other_user_overridden()[source]
test_admin_cannot_list_roles_for_other_user_overridden_defaults()[source]
test_user_list_all_trusts_overridden_defaults()[source]
class keystone.tests.protection.v3.test_trusts.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.protection.v3.test_trusts.TrustTests, keystone.tests.protection.v3.test_trusts._SystemReaderMemberTests

Tests for system member users.

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_trusts.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.protection.v3.test_trusts.TrustTests, keystone.tests.protection.v3.test_trusts._SystemReaderMemberTests

Tests for system reader users.

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_trusts.TrustTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin

Common functionality for all trust tests.

Sets up trustor and trustee users and trust.

setUp()[source]

Hook method for setting up the test fixture before exercising it.

keystone.tests.protection.v3.test_users module

class keystone.tests.protection.v3.test_users.DomainAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_users._CommonUserTests, keystone.tests.protection.v3.test_users._DomainUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_users_within_domain()[source]
test_user_can_delete_users_within_domain()[source]
test_user_can_update_users_within_domain()[source]
test_user_can_update_users_within_domain_hyphened_domain_id()[source]
test_user_cannot_create_users_in_other_domain()[source]
test_user_cannot_create_users_within_domain_hyphened_domain_id()[source]
test_user_cannot_delete_non_existent_user_forbidden()[source]
test_user_cannot_delete_users_in_other_domain()[source]
test_user_cannot_update_non_existent_user_forbidden()[source]
test_user_cannot_update_users_in_other_domain()[source]
class keystone.tests.protection.v3.test_users.DomainMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_users._CommonUserTests, keystone.tests.protection.v3.test_users._DomainUserTests, keystone.tests.protection.v3.test_users._DomainMemberAndReaderUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_users.DomainReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_users._CommonUserTests, keystone.tests.protection.v3.test_users._DomainUserTests, keystone.tests.protection.v3.test_users._DomainMemberAndReaderUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_users.ProjectAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_users._CommonUserTests, keystone.tests.protection.v3.test_users._ProjectUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_users.ProjectMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_users._CommonUserTests, keystone.tests.protection.v3.test_users._ProjectUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_users.ProjectReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_users._CommonUserTests, keystone.tests.protection.v3.test_users._ProjectUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_users.SystemAdminTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_users._CommonUserTests, keystone.tests.protection.v3.test_users._SystemUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_user_can_create_users()[source]
test_user_can_delete_users()[source]
test_user_can_update_users()[source]
test_user_cannot_delete_non_existent_user_not_found()[source]
test_user_cannot_update_non_existent_user_not_found()[source]
class keystone.tests.protection.v3.test_users.SystemMemberTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_users._CommonUserTests, keystone.tests.protection.v3.test_users._SystemUserTests, keystone.tests.protection.v3.test_users._SystemMemberAndReaderUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class keystone.tests.protection.v3.test_users.SystemReaderTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.base_classes.TestCaseWithBootstrap, keystone.tests.common.auth.AuthTestMixin, keystone.tests.protection.v3.test_users._CommonUserTests, keystone.tests.protection.v3.test_users._SystemUserTests, keystone.tests.protection.v3.test_users._SystemMemberAndReaderUserTests

setUp()[source]

Hook method for setting up the test fixture before exercising it.

Module contents