Projet

Général

Profil

Development #19900

mise à jour tox et tests pour enlever des warnings

Ajouté par Benjamin Dauvergne il y a plus de 6 ans. Mis à jour il y a environ 6 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
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

Révision fb987b61 (diff)
Ajouté par Benjamin Dauvergne il y a plus de 6 ans

tox: replace pytest-capturelog by pytest-catchlog (#19900)

Révision bab24b48 (diff)
Ajouté par Benjamin Dauvergne il y a plus de 6 ans

tests: replace TestApp by classic app fixture (fixes #19900)

Historique

#2

Mis à jour par Frédéric Péters il y a plus de 6 ans

Ok.

#3

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
#4

Mis à jour par Benjamin Dauvergne il y a environ 6 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF