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:
Benjamin Dauvergne 2018-02-07 15:46:08 +01:00
parent ac6f1ad28a
commit 38bb35c856
1 changed files with 1 additions and 1 deletions

View File

@ -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