keystone/keystone/tests/unit
Henry Nash a9a47b62c8 Add API route for list role assignments for tree
This patch adds the API routing (and appropriate REST API
tests) to call the manager support for listing role
assignments for a tree of projects that was implemented in
the earlier patch.

In order to support the required policy rule, the protection
wrapper for filter list calls was extended to support a callback
(in the same way that the regular protection wrapper already did).

Implements: bp list-assignment-subtree
Change-Id: I3495c7cab3b40811b2722ac7d70ddda30410b62b
2015-12-11 14:13:51 +00:00
..
auth Use stevedore for auth drivers 2015-06-18 21:04:14 -05:00
backend Create V9 Role Driver 2015-12-08 23:21:24 -05:00
catalog Fix order of arguments in assertEqual 2015-09-25 02:06:55 -07:00
common Use new_policy_ref consistently 2015-12-09 10:18:36 -08:00
config_files Capitalize a Few Words 2015-10-29 11:20:46 -05:00
contrib Accepts Group IDs from the IdP without domain 2015-11-23 16:25:40 -05:00
external Adds interface tests for timeutils 2015-09-23 12:43:37 +00:00
identity Use unit.new_domain_ref consistently 2015-11-12 10:14:50 +00:00
ksfixtures Create new version of assignment driver interface 2015-12-08 23:13:33 -05:00
saml2 Add openstack_user_domain to assertion 2015-05-04 14:33:48 -03:00
tests Use oslo.log fixture 2015-09-09 13:54:30 -05:00
token Remove `extras` from token data 2015-11-24 21:40:39 -05:00
__init__.py Removes py3 test import hacks 2015-09-04 18:20:44 +00:00
core.py Clean up new_credential_ref usage and surrounding code 2015-12-10 12:32:03 -08:00
default_catalog.templates Move existing tests to unit 2015-02-13 15:54:29 -06:00
default_fixtures.py Add is_domain field in Project Table 2015-08-18 16:05:25 -03:00
fakeldap.py Fix D202: No blank lines after function docstring (PEP257) 2015-10-28 07:25:04 +00:00
federation_fixtures.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
filtering.py Fix D202: No blank lines after function docstring (PEP257) 2015-10-28 07:25:04 +00:00
identity_mapping.py Fix D202: No blank lines after function docstring (PEP257) 2015-10-28 07:25:04 +00:00
mapping_fixtures.py Accepts Group IDs from the IdP without domain 2015-11-23 16:25:40 -05:00
rest.py Fix order of arguments in assertEqual 2015-09-25 02:06:55 -07:00
test_associate_project_endpoint_extension.py Merge "Ensure endpoints returned is filtered correctly" 2015-12-10 00:52:45 +00:00
test_auth.py Use unit.new_project_ref consistently 2015-11-30 19:31:50 +00:00
test_auth_plugin.py Fix order of arguments in assertEqual 2015-09-25 02:06:55 -07:00
test_backend.py Use assertDictEqual instead of assertEqualPolicies 2015-12-09 21:59:38 +00:00
test_backend_endpoint_policy.py Use new_policy_ref consistently 2015-12-09 10:18:36 -08:00
test_backend_endpoint_policy_sql.py Fixes the SQL model tests 2015-03-08 05:34:48 +00:00
test_backend_federation_sql.py Add relay_state_prefix to Service Provider 2015-03-28 06:29:00 +00:00
test_backend_id_mapping_sql.py Use unit.new_domain_ref consistently 2015-11-12 10:14:50 +00:00
test_backend_kvs.py Refactor: change 404 status codes in test names 2015-10-09 15:08:23 +00:00
test_backend_ldap.py Fix exposition of bug about limiting with ldap 2015-12-10 07:17:41 +00:00
test_backend_ldap_pool.py Merge "Keystone Spelling Errors in docstrings and comments" 2015-11-06 11:19:02 +00:00
test_backend_rules.py Refactor: change 404 status codes in test names 2015-10-09 15:08:23 +00:00
test_backend_sql.py Clean up new_credential_ref usage and surrounding code 2015-12-10 12:32:03 -08:00
test_backend_templated.py Add caching to get_catalog 2015-10-16 17:00:29 +00:00
test_catalog.py Remove unfixable FIXME 2015-12-09 15:21:09 -03:00
test_cert_setup.py Use subprocess.check_output instead of Popen 2015-11-25 01:38:54 +00:00
test_cli.py Change tests to use common name for keystone.tests.unit 2015-09-04 18:21:42 +00:00
test_config.py Merge keystone.config into keystone.common.config 2015-11-19 08:24:51 -06:00
test_contrib_ec2.py Clean up new_credential_ref usage and surrounding code 2015-12-10 12:32:03 -08:00
test_contrib_s3_core.py Fix string conversion in s3 handler for python 2 2015-11-18 13:25:27 +03:00
test_contrib_simple_cert.py Uses constants for 5XX http status codes in tests 2015-09-24 02:52:59 +00:00
test_driver_hints.py Use assertTrue/False instead of assertEqual(T/F) 2015-11-02 09:10:38 +00:00
test_exception.py Fix inaccurate debug mode response 2015-11-17 16:49:13 -06:00
test_hacking_checks.py Keystone Spelling Errors in docstrings and comments 2015-10-29 09:46:14 -05:00
test_ipv6.py Change tests to use common name for keystone.tests.unit 2015-09-04 18:21:42 +00:00
test_kvs.py Fix D204: blank line required after class docstring (PEP257) 2015-10-28 07:25:24 +00:00
test_ldap_livetest.py Use unit.new_user_ref consistently 2015-11-17 19:20:33 +00:00
test_ldap_pool_livetest.py Use unit.new_user_ref consistently 2015-11-17 19:20:33 +00:00
test_ldap_tls_livetest.py Use unit.new_user_ref consistently 2015-11-17 19:20:33 +00:00
test_middleware.py Use unit.new_project_ref consistently 2015-11-30 19:31:50 +00:00
test_no_admin_token_auth.py Merge "Refactor: Don't hard code the error code" 2015-09-14 01:58:49 +00:00
test_policy.py Add missing colon separators to inline comments 2015-11-19 13:40:48 +00:00
test_revoke.py Move revoke extension into core 2015-11-18 15:14:07 +00:00
test_singular_plural.py Create a version package 2015-10-12 23:59:16 +00:00
test_sql_livetest.py Move revoke sql migrations to common 2015-11-18 15:14:15 +00:00
test_sql_migrate_extensions.py Remove example extension 2015-11-24 15:07:00 +00:00
test_sql_upgrade.py Move endpoint_filter migrations into keystone core 2015-11-18 15:31:24 +00:00
test_ssl.py Change tests to use common name for keystone.tests.unit 2015-09-04 18:21:42 +00:00
test_token_bind.py Change tests to use common name for keystone.tests.unit 2015-09-04 18:21:42 +00:00
test_token_provider.py Change tests to use common name for keystone.tests.unit 2015-09-04 18:21:42 +00:00
test_url_middleware.py Fix D204: blank line required after class docstring (PEP257) 2015-10-28 07:25:24 +00:00
test_v2.py Get user role without project id is not implemented 2015-11-04 20:57:35 +08:00
test_v2_controller.py Use unit.new_project_ref consistently 2015-11-30 19:31:50 +00:00
test_v3.py Clean up new_credential_ref usage and surrounding code 2015-12-10 12:32:03 -08:00
test_v3_assignment.py Add API route for list role assignments for tree 2015-12-11 14:13:51 +00:00
test_v3_auth.py Merge "Use unit.new_project_ref consistently" 2015-12-05 01:19:55 +00:00
test_v3_catalog.py Cleanup region refs 2015-11-25 07:47:15 -08:00
test_v3_controller.py Fix D204: blank line required after class docstring (PEP257) 2015-10-28 07:25:24 +00:00
test_v3_credential.py Clean up new_credential_ref usage and surrounding code 2015-12-10 12:32:03 -08:00
test_v3_domain_config.py Use unit.new_domain_ref consistently 2015-11-12 10:14:50 +00:00
test_v3_endpoint_policy.py Use new_policy_ref consistently 2015-12-09 10:18:36 -08:00
test_v3_federation.py Use unit.new_project_ref consistently 2015-11-30 19:31:50 +00:00
test_v3_filters.py Use new_policy_ref consistently 2015-12-09 10:18:36 -08:00
test_v3_identity.py Clean up new_credential_ref usage and surrounding code 2015-12-10 12:32:03 -08:00
test_v3_oauth1.py Merge "Use new_trust_ref consistently" 2015-12-05 01:16:46 +00:00
test_v3_os_revoke.py Move revoke extension into core 2015-11-18 15:14:07 +00:00
test_v3_policy.py Use new_policy_ref consistently 2015-12-09 10:18:36 -08:00
test_v3_protection.py Add API route for list role assignments for tree 2015-12-11 14:13:51 +00:00
test_v3_resource.py Clean up new_credential_ref usage and surrounding code 2015-12-10 12:32:03 -08:00
test_validation.py Manager support for projects acting as domains 2015-11-19 11:25:20 -03:00
test_versions.py Update API version info for Liberty 2015-12-03 09:56:21 -06:00
test_wsgi.py Fix the issues found with local conf 2015-10-30 11:17:31 +08:00
utils.py Fix D202: No blank lines after function docstring (PEP257) 2015-10-28 07:25:04 +00:00