keystone/keystone/tests/unit
Dolph Mathews d9c6b50a3a Replace keystone.common.config with keystone.conf package
keystone.common.config is 1200+ lines of super dense, merge-conflict
prone, difficult to navigate, and finicky to maintain code. Let's follow
nova's lead and break it down into more manageable modules.

This patch creates a new Python package, keystone.conf, and moves all of
our configuration options into it, mirroring nova's nova.conf package.

There are a couple special modules in keystone.conf introduced here as
well:

- keystone.conf.__init__: This causes all of Keystone options to be
  registered on import, so consumers of keystone.conf don't have
  races with config initialization code while trying to use
  oslo_config.cfg.CONF directly (keystone.conf replaces all uses for
  oslo_config.cfg.CONF in keystone).

- keystone.conf.base: Keystone's [DEFAULT] group options. I'd prefer
  this to be called 'default.py', but I'm just copying nova's lead here.

- keystone.conf.opts: The entry point for oslo.config itself.

- keystone.conf.constants: There are a few constants (deprecation
  messages, default paths, etc) that are used by multiple configuration
  modules, so they need to live in a common place.

Change-Id: Ia3daffe3fef111b42de203762e966cd14d8927e2
2016-06-24 17:02:15 +00:00
..
assignment Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
auth Use mockpatch fixtures from fixtures 2016-04-12 21:15:12 -05:00
backend Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
catalog Move the catalog abstract base class and common code out of core 2016-05-06 21:58:38 +00:00
common Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
config_files Switch migration tests to oslo.db DbTestCase 2016-03-23 11:14:11 -05:00
contrib Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
external Adds interface tests for timeutils 2015-09-23 12:43:37 +00:00
identity Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
ksfixtures Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
policy Split policy backend tests 2016-03-04 15:32:42 -03:00
resource Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
saml2 Add openstack_user_domain to assertion 2015-05-04 14:33:48 -03:00
schema Rename v2 token schema used for validation 2016-03-10 21:41:22 +00:00
tests Change LOG.warn to LOG.warning 2016-01-06 19:30:37 +00:00
token Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
trust Split trust backend tests 2016-03-04 15:31:48 -03:00
__init__.py enable ldap tests for py3 2016-05-18 12:07:23 -04:00
core.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
default_catalog.templates Move existing tests to unit 2015-02-13 15:54:29 -06:00
default_fixtures.py Make all fixture project_ids into uuids 2016-05-03 21:51:47 +00:00
fakeldap.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
federation_fixtures.py Move existing tests to unit 2015-02-13 15:54:29 -06:00
filtering.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
identity_mapping.py Use the new enginefacade from oslo.db 2016-02-24 08:20:12 -08:00
mapping_fixtures.py Enhance federation group mapping validation 2016-05-06 13:08:31 +02:00
rest.py Make all fixture project_ids into uuids 2016-05-03 21:51:47 +00:00
test_associate_project_endpoint_extension.py Fix D400 PEP257 2016-04-21 15:25:34 +00:00
test_auth.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_auth_plugin.py Reduce setup overhead in auth_plugin tests 2016-06-21 23:42:06 +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 Deprecate keystone.common.kvs 2016-05-12 23:30:15 -07:00
test_backend_ldap.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_backend_ldap_pool.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_backend_rules.py Split policy backend tests 2016-03-04 15:32:42 -03:00
test_backend_sql.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_backend_templated.py Split catalog backend tests 2016-03-04 15:32:18 -03:00
test_catalog.py Remove unfixable FIXME 2015-12-09 15:21:09 -03:00
test_cert_setup.py Pass a request to controllers instead of a context 2016-06-08 14:56:52 +10:00
test_cli.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_config.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00: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 Fixes to get cert tests running in Py3 2016-03-02 02:11:02 +00:00
test_credential.py Consolidate `test_contrib_ec2.py` into `test_credential.py` 2016-02-05 10:22:41 +08: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 Added CORS support to Keystone 2016-02-10 06:00:00 -08:00
test_exception.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_hacking_checks.py Fix D401 PEP8 violation. 2016-04-14 20:08:52 +00:00
test_kvs.py Fix D400 PEP257 2016-04-21 15:25:34 +00:00
test_ldap_livetest.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_ldap_pool_livetest.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_ldap_tls_livetest.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_middleware.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_no_admin_token_auth.py Deprecate keystone.common.kvs 2016-05-12 23:30:15 -07:00
test_policy.py Remove test_invalid_policy_raises_error 2016-05-03 12:46:29 +00:00
test_revoke.py Merge "Replace revoke tree with linear search" 2016-05-25 15:13:43 +00:00
test_sql_banned_operations.py Drop the (unused) domain table 2016-05-13 18:10:38 +01:00
test_sql_migrate_extensions.py Fix D400 PEP257 2016-04-21 15:25:34 +00:00
test_sql_upgrade.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +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 Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_url_middleware.py Fix D401 PEP8 violation. 2016-04-14 20:08:52 +00:00
test_v2.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_v2_controller.py Pass a request to controllers instead of a context 2016-06-08 14:56:52 +10:00
test_v3.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_v3_assignment.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_v3_auth.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_v3_catalog.py /services?name=<name> API fails when using list_limit 2016-06-21 14:22:19 -07:00
test_v3_credential.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_v3_domain_config.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_v3_endpoint_policy.py Use new_policy_ref consistently 2015-12-09 10:18:36 -08:00
test_v3_federation.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_v3_filters.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_v3_identity.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_v3_oauth1.py Py3 oauth tests 2016-05-20 11:59:15 -07:00
test_v3_os_revoke.py remove deprecated revoke_by_expiration function 2016-05-22 14:39:58 +00:00
test_v3_policy.py Implement HEAD method for all v3 GET actions 2016-03-22 10:27:53 -07:00
test_v3_protection.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_v3_resource.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_v3_trust.py Validate impersonation in trust redelegation 2016-06-20 12:19:06 +00:00
test_validation.py Merge "Separate protocol schema" 2016-05-17 01:42:29 +00:00
test_versions.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_wsgi.py Pass a request to controllers instead of a context 2016-06-08 14:56:52 +10:00
utils.py Add new functionality to @wip 2016-05-22 16:06:50 +00:00