b736936e51df4043c5fddc094355584de831185c
The unit test that is getting fixed fails with error: AttributeError: None does not have the attribute 'info' It happens because _LOG.info is being patched at the moment when _LOG is None. For a reason, this doesn't happen always. For example, the problem was gone after a recheck in https://review.openstack.org/#/c/391130/. Patch log only after app creation. This seems to be a common pattern across all other tests involving mock, for example, in test_conf_middleware_log_and_default_as_messaging. Change-Id: Ia48520d6835c5712d77e182cffbf50cc6b56b9ce
Middleware for the OpenStack Identity API (Keystone)
This package contains middleware modules designed to provide
authentication and authorization features to web services other than
Keystone
<https://github.com/openstack/keystone>. The most prominent
module is keystonemiddleware.auth_token. This package does
not expose any CLI or Python API features.
For information on contributing, see
CONTRIBUTING.rst.
- License: Apache License, Version 2.0
- Documentation: http://docs.openstack.org/developer/keystonemiddleware
- Source: http://git.openstack.org/cgit/openstack/keystonemiddleware
- Bugs: http://bugs.launchpad.net/keystonemiddleware
For any other information, refer to the parent project, Keystone:
Description
Languages
Python
100%