Development #19900
mise à jour tox et tests pour enlever des warnings
Début:
06 novembre 2017
Echéance:
% réalisé:
100%
Temps estimé:
Patch proposed:
Oui
Planning:
Description
=============================================================================== warnings summary =============================================================================== :171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. tests/test_public.py::TestApp cannot collect test class 'TestApp' because it has a __init__ constructor -- Docs: http://doc.pytest.org/en/latest/warnings.html ==================================================================== 13 passed, 4 warnings in 6.65 seconds =====================================================================
Fichiers
Révisions associées
tests: replace TestApp by classic app fixture (fixes #19900)
Historique
Mis à jour par Benjamin Dauvergne il y a plus de 6 ans
- Fichier 0001-tox-replace-pytest-capturelog-by-pytest-catchlog.patch 0001-tox-replace-pytest-capturelog-by-pytest-catchlog.patch ajouté
- Fichier 0002-tests-replace-TestApp-by-classic-app-fixture.patch 0002-tests-replace-TestApp-by-classic-app-fixture.patch ajouté
- Patch proposed changé de Non à Oui
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 bab24b48c00640233328f39a7341b057789bc0ea.
Mis à jour par Benjamin Dauvergne il y a environ 6 ans
- Statut changé de Résolu (à déployer) à Fermé
tox: replace pytest-capturelog by pytest-catchlog (#19900)