auth_token middleware in python-keystoneclient is deprecated and has
been moved to the keystonemiddleware repo.
test_keystone_middleware_conf and
test_keystone_middleware_parse_conffile were removed. These tests
were relying on undocumented behavior (how the config options turn
into attributes). This doesn't work anymore since the
keystonemiddleware version doesn't provide any public API other than
calling it as a wsgi app, and then doesn't document what internal
operations it will do when called so isn't safe to be called in
unit tests. Tests verifying that the auth_token middleware can read
its config options should be done in keystonemiddleware.
Reviewed: https:/ /review. openstack. org/102353 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=243d4ad7ef2 17e1249e0e5ea89 dc8fb2a610fa2f
Committed: https:/
Submitter: Jenkins
Branch: master
commit 243d4ad7ef217e1 249e0e5ea89dc8f b2a610fa2f
Author: Brant Knudson <email address hidden>
Date: Tue Jun 24 16:25:26 2014 -0500
Use auth_token from keystonemiddleware
auth_token middleware in python- keystoneclient is deprecated and has
been moved to the keystonemiddleware repo.
test_ keystone_ middleware_ conf and keystone_ middleware_ parse_conffile were removed. These tests dleware version doesn't provide any public API other than
test_
were relying on undocumented behavior (how the config options turn
into attributes). This doesn't work anymore since the
keystonemid
calling it as a wsgi app, and then doesn't document what internal
operations it will do when called so isn't safe to be called in
unit tests. Tests verifying that the auth_token middleware can read
its config options should be done in keystonemiddleware.
Closes-Bug: #1342274
Change-Id: I1aadbe24db63eb 2507b088cd53886 d7f2e192cab