keystonemiddleware/keystonemiddleware/tests/unit/auth_token
wangxiyuan ce06c0ce10 Add arguments for MemcacheClientPool init
Now keystonemiddleware use oslo.cache to init the
MemcacheClientPool. The MemcacheClientPool in
Olso.cache needs (urls, arguments, **kwargs) parameter
to init, but keystonemiddleware passed only
(urls, **kwargs). Then it leads the error:
__init__() takes exactly 3 arguments (2 given)

This patch fixed this issue.

Please note that even this error is fixed, set
"memcache_use_advanced_pool = True" will lead another
error, see bug #1747565 for the detail. It will be
fixed in the following patch.

Closes-bug: #1748160
Change-Id: I642f959ab8b010207314312a6b6a06a6de23e92c
2018-02-22 16:27:31 +08:00
..
__init__.py Move unit tests into tests.unit 2015-03-11 17:03:54 -05:00
base.py Identify the keystone service when raising 503 2018-02-20 17:32:41 +01:00
test_auth.py use oslo.log instead of logging 2017-01-13 03:24:18 +00:00
test_auth_token_middleware.py Identify the keystone service when raising 503 2018-02-20 17:32:41 +01:00
test_base_middleware.py strip whitespace from token 2017-07-31 16:16:37 -04:00
test_cache.py Add arguments for MemcacheClientPool init 2018-02-22 16:27:31 +08:00
test_config.py Rename auth_uri to www_authenticate_uri 2017-10-11 14:00:49 +02:00
test_connection_pool.py Use oslo_cache in auth_token middleware 2017-12-01 16:36:40 -08:00
test_memcache_crypt.py Fix py3 byte/string error 2017-10-11 10:21:06 -05:00
test_request.py Use keystoneauth 2015-11-23 12:03:00 +11:00
test_revocations.py auth_token verify revocation by audit_id 2015-12-17 10:55:58 -06:00
test_signing_dir.py Create signing_dir upon first usage 2016-04-11 11:12:06 -07:00
test_user_auth_plugin.py Pass ?allow_expired 2016-12-15 16:15:35 +00:00