Bug #21610
tests cassé avec pytest 3.4.0
100%
Description
cf la différence entre https://jenkins.entrouvert.org/job/authentic2/2477/console et https://jenkins.entrouvert.org/job/authentic2/2478/console
platform linux2 -- Python 2.7.13, pytest-3.3.2, py-1.5.2, pluggy-0.6.0 ... tests/test_auth_oidc.py ......... [ 53%]
vs
platform linux2 -- Python 2.7.13, pytest-3.4.0, py-1.5.2, pluggy-0.6.0 ... tests/test_auth_oidc.py ...FF..FF [ 53%]
Révisions associées
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.
Revert "tox: limit to pytest < 3.4 for now (#21610)"
This reverts commit 7c2b5f3fcbae4532c4a99def28b38223be2c96d0.
Historique
Mis à jour par Frédéric Péters il y a plus de 6 ans
(je viens de pousser un commit modifiant tox.ini pour se limiter à <3.4, mais ça reste un bug).
Mis à jour par Benjamin Dauvergne il y a plus de 6 ans
- Statut changé de Nouveau à Résolu (à déployer)
- % réalisé changé de 0 à 100
Appliqué par commit authentic2|38bb35c856d457513cf21bc13167e222697bc7b3.
Mis à jour par Benjamin Dauvergne il y a plus de 5 ans
- Statut changé de Résolu (à déployer) à Fermé
tox: limit to pytest < 3.4 for now (#21610)