keystonemiddleware/keystonemiddleware/tests/unit
Leehom Li (feli5) 82707e15a5 Make sure audit middleware use own context
Keystone audit middleware requires to iterate req.context as dict,
but Glance requires to access req.context.read_only.
When glance enabled audit, they are conflict with each other.
This patch fix this issue by store audit context in
req.environ['audit.context']

Change-Id: Ib9a62a4cd0b7b9ffb9fa2d6440e8072d45ee0fee
Closes-Bug: #1809101
Signed-off-by: Leehom Li <feli5@cisco.com>
2018-12-24 02:02:17 +00:00
..
audit Make sure audit middleware use own context 2018-12-24 02:02:17 +00:00
auth_token Merge "Stop supporting revocation list" 2018-11-07 10:09:35 +00:00
__init__.py Move unit tests into tests.unit 2015-03-11 17:03:54 -05:00
client_fixtures.py Stop supporting revocation list 2018-10-30 19:36:51 +00: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 Stop supporting revocation list 2018-10-30 19:36:51 +00: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