keystone/keystone/tests/unit
Lance Bragstad f377351ac8 Update service policies for system admin
The service policies were not taking the default roles work we did
last release into account. This commit changes the default policies
to rely on the ``admin`` role to create and delete services.
Subsequent patches will incorporate:

 - domain user test coverage
 - project user test coverage

Change-Id: I58bbe6848c9e8e63656a6c706c84d1747c72a71e
Related-Bug: 1804462
Closes-Bug: 1804463
2019-02-22 16:53:52 +00:00
..
application_credential Correcting tests with project_id 2019-02-13 14:32:19 +05:30
assignment Correcting tests with project_id 2019-02-13 14:32:19 +05:30
auth Move validate_issue_token_auth from controllers 2018-08-01 16:57:16 +00:00
backend Adjust Indents to meet PEP8 E117 2019-01-29 13:48:57 -05:00
catalog Correcting tests with project_id 2019-02-13 14:32:19 +05:30
common Merge "Added request_id and global_request_id to basic notifications" 2019-02-18 12:46:02 +00:00
config_files Remove LDAP write support 2017-01-21 21:32:07 -05:00
contrib Test case for bad type user in assertion 2019-01-31 15:37:29 +05:30
credential Revert "Rename fernet_utils to token_utils" 2018-06-06 16:49:27 +12:00
endpoint_policy Fixes remaining nits in endpoint_policy tests 2016-11-15 20:03:47 +00:00
external Replace parse_strtime with datetime.strptime 2017-12-21 12:14:28 -06:00
federation Enable foreign keys for unit test 2018-10-09 09:50:21 +08:00
identity Correcting tests with project_id 2019-02-13 14:32:19 +05:30
ksfixtures Add test fixture for the JWS key repository 2019-01-31 19:41:58 +00:00
limit Correcting tests with project_id 2019-02-13 14:32:19 +05:30
policy Finish refactoring self.*_api out of tests 2018-02-05 23:26:08 +00:00
protection Update service policies for system admin 2019-02-22 16:53:52 +00:00
receipt Implement auth receipts spec 2018-11-02 15:06:19 +01:00
resource Correcting tests with project_id 2019-02-13 14:32:19 +05:30
saml2 Add openstack_user_domain to assertion 2015-05-04 14:33:48 -03:00
server Correcting tests with project_id 2019-02-13 14:32:19 +05:30
tests Adds a skip method to identify useless skips 2016-06-29 19:48:12 +00:00
token Implement JWS token provider 2019-02-07 23:04:39 +00:00
trust Correcting tests with project_id 2019-02-13 14:32:19 +05:30
__init__.py Remove i18n.enable_lazy() translation 2018-12-14 10:30:17 +00:00
base_classes.py Merge "Implement auth receipts spec" 2018-11-02 18:30:44 +00:00
core.py Fix mock for v2 test 2019-02-17 16:56:33 +01:00
default_catalog.templates Remove/update v2 catalog endpoint tests 2017-10-21 16:45:12 -05:00
default_catalog_multi_region.templates Fixing multi-region support in templated v3 catalog 2018-03-13 11:10:08 -07:00
default_fixtures.py Correcting tests with project_id 2019-02-13 14:32:19 +05:30
fakeldap.py Correcting tests with project_id 2019-02-13 14:32:19 +05:30
federation_fixtures.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
filtering.py Finish refactoring self.*_api out of tests 2018-02-05 23:26:08 +00:00
identity_mapping.py Use the new enginefacade from oslo.db 2016-02-24 08:20:12 -08:00
mapping_fixtures.py Merge "Fixes incorrect params" 2019-02-15 23:06:20 +00:00
rest.py Enable foreign keys for unit test 2018-10-09 09:50:21 +08:00
test_app_config.py Cleanup test_wsgi 2018-10-11 15:27:46 -07:00
test_associate_project_endpoint_extension.py Refactor self.*_api out of tests 2018-02-03 00:14:40 +00:00
test_auth_plugin.py Convert auth to flask native dispatching 2018-10-09 23:23:03 -07:00
test_backend_endpoint_policy.py Finish refactoring self.*_api out of tests 2018-02-05 23:26:08 +00:00
test_backend_endpoint_policy_sql.py Enable foreign keys for unit test 2018-10-09 09:50:21 +08:00
test_backend_federation_sql.py Require domain_id when registering Identity Providers 2017-01-06 16:05:12 +00:00
test_backend_id_mapping_sql.py Increase test coverage of entity_type id mapping query 2018-07-13 21:42:07 +00:00
test_backend_ldap.py Correcting tests with project_id 2019-02-13 14:32:19 +05:30
test_backend_ldap_pool.py PY3: switch to using unicode text values 2019-01-14 14:25:39 -05:00
test_backend_rules.py Split policy backend tests 2016-03-04 15:32:42 -03:00
test_backend_sql.py Correcting tests with project_id 2019-02-13 14:32:19 +05:30
test_backend_templated.py Region update extra support 2018-11-07 22:57:11 +00:00
test_cli.py Merge "Adding 'date' for trust_flush" 2018-10-23 17:23:41 +00:00
test_config.py Remove pastedeploy 2018-06-06 19:30:26 +00:00
test_contrib_ec2_core.py Convert S3 and EC2 auth to flask native dispatching 2018-10-11 15:27:46 -07:00
test_contrib_s3_core.py Convert S3 and EC2 auth to flask native dispatching 2018-10-11 15:27:46 -07:00
test_contrib_simple_cert.py Ensure HEAD is supported with simple cert 2017-06-13 16:03:38 +00:00
test_driver_hints.py Use assertTrue/False instead of assertEqual(T/F) 2015-11-02 09:10:38 +00:00
test_entry_points.py Internally defined middleware don't use stevedore 2018-10-11 15:27:46 -07:00
test_exception.py Remove pre-flask legacy code 2018-10-15 10:56:26 -07:00
test_hacking_checks.py Use pycodestyle in place of pep8 2018-11-20 17:16:01 +00:00
test_healthcheck.py add unit tests for healthcheck 2018-10-11 08:34:37 -07:00
test_ldap_livetest.py PY3: switch to using unicode text values 2019-01-14 14:25:39 -05:00
test_ldap_pool_livetest.py Convert auth to flask native dispatching 2018-10-09 23:23:03 -07:00
test_ldap_tls_livetest.py PY3: switch to using unicode text values 2019-01-14 14:25:39 -05:00
test_limits.py Update limit policies for system admin 2019-01-09 14:56:48 +00:00
test_middleware.py Merge "populate request context with X.509 tokenless cred information" 2019-02-16 07:43:45 +00:00
test_policy.py Remove mapping policies from policy.v3cloudsample.json 2019-02-19 01:49:28 +00:00
test_receipt_provider.py Implement auth receipts spec 2018-11-02 15:06:19 +01:00
test_revoke.py Remove unused revoke_by_user_and_project 2018-09-14 04:08:01 +00:00
test_shadow_users.py Enable foreign keys for unit test 2018-10-09 09:50:21 +08:00
test_sql_banned_operations.py Work around deprecations for opportunistic tests 2018-02-27 13:46:27 +00:00
test_sql_upgrade.py Add domain_id column for limit 2019-02-12 16:54:00 +08:00
test_token_provider.py Remove unused sample token fixtures 2019-02-14 21:07:49 +01:00
test_url_middleware.py Convert Normalizing filter to flask native Middleware 2018-10-11 15:27:46 -07:00
test_v3.py Correcting tests with project_id 2019-02-13 14:32:19 +05:30
test_v3_application_credential.py Converting the API tests to use flask's test_client 2019-02-04 13:33:51 -08:00
test_v3_assignment.py Enable foreign keys for unit test 2018-10-09 09:50:21 +08:00
test_v3_auth.py Implement JWS token provider 2019-02-07 23:04:39 +00:00
test_v3_catalog.py Enable foreign keys for unit test 2018-10-09 09:50:21 +08:00
test_v3_credential.py Implement scope_type checking for credentials 2018-10-29 15:01:29 +00:00
test_v3_domain_config.py Finish refactoring self.*_api out of tests 2018-02-05 23:26:08 +00:00
test_v3_endpoint_policy.py Refactor self.*_api out of tests 2018-02-03 00:14:40 +00:00
test_v3_federation.py Implement JWS token provider 2019-02-07 23:04:39 +00:00
test_v3_filters.py Make policy file support in fixture optional 2018-10-12 16:39:24 +00:00
test_v3_identity.py Allow blocking users from self-service password change 2018-04-18 19:15:07 +00:00
test_v3_oauth1.py Replace 'tenant_id' with 'project_id' 2019-02-04 16:17:52 +01:00
test_v3_os_revoke.py Refactor self.*_api out of tests 2018-02-03 00:14:40 +00:00
test_v3_policy.py Refactor self.*_api out of tests 2018-02-03 00:14:40 +00:00
test_v3_protection.py Implement system reader role for users 2019-02-04 19:52:45 +00:00
test_v3_resource.py Update limit policies for system admin 2019-01-09 14:56:48 +00:00
test_v3_trust.py Implement "no-update" test for trusts 2018-07-26 10:30:24 -07:00
test_validation.py Move to password validation schema 2018-11-27 14:57:44 -06:00
test_versions.py Fix mock for v2 test 2019-02-17 16:56:33 +01:00
utils.py Add new functionality to @wip 2016-05-22 16:06:50 +00:00