auth_oidc: log token revocation at the INFO level to make test pass (fixes #21610)
In pytest>=3.4.0 the caplog does not capture all log levels but follow the default logging configuration. As this event was looked by the test and the information is usefull, the best fix is to raise the log level and to not modify the test.
This commit is contained in:
parent
ac6f1ad28a
commit
38bb35c856
|
@ -64,7 +64,7 @@ class Plugin(object):
|
|||
logger.warning(u'failed to revoke access token from OIDC provider %s: %s, %s',
|
||||
provider.issuer, e, content)
|
||||
return
|
||||
logger.debug(u'revoked token from OIDC provider %s', provider.issuer)
|
||||
logger.info(u'revoked token from OIDC provider %s', provider.issuer)
|
||||
|
||||
def get_admin_modules(self):
|
||||
from admin_tools.dashboard import modules
|
||||
|
|
Loading…
Reference in New Issue