keystonemiddleware/keystonemiddleware/tests/unit
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
..
audit Add option to disable using oslo_message notifier 2018-02-20 11:26:22 +01:00
auth_token Add arguments for MemcacheClientPool init 2018-02-22 16:27:31 +08:00
__init__.py Move unit tests into tests.unit 2015-03-11 17:03:54 -05:00
client_fixtures.py Fix gate error caused by mocked URLs 2017-09-25 10:01:04 -05:00
test_ec2_token_middleware.py Fix D204 PEP257 violation and enable D301 and D209 2016-05-06 16:36:15 +00:00
test_entry_points.py Define entry points for filter factories for Paste Deployment 2015-11-06 12:16:44 -06:00
test_fixtures.py Add project_name to the auth_token fixture 2016-01-13 15:10:36 +11:00
test_opts.py Rename auth_uri to www_authenticate_uri 2017-10-11 14:00:49 +02:00
test_s3_token_middleware.py Rename auth_uri to www_authenticate_uri 2017-10-11 14:00:49 +02:00
utils.py use oslo.log instead of logging 2017-01-13 03:24:18 +00:00