Development #39641
fonctionner avec pytest 5
Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
07 février 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
def create_temporary_pub(sql_mode=False, templates_mode=False, lazy_mode=False): if sql_mode is True: > if pytest.config.getoption('without_postgresql_tests'): E AttributeError: module 'pytest' has no attribute 'config'
Fichiers
Révisions associées
tests: remove usage of obsolete @postgresql mark (removed in #39641)
Historique
Mis à jour par Frédéric Péters il y a environ 4 ans
- Fichier 0001-tests-remove-custom-without-postgresql-tests-test-op.patch 0001-tests-remove-custom-without-postgresql-tests-test-op.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Frédéric Péters il y a environ 4 ans
Ça dégage la possibilité de passer --without-postgresql-tests sur la ligne de commande; c'est la vie™.
Mis à jour par Emmanuel Cazenave il y a environ 4 ans
- Statut changé de Solution proposée à Solution validée
Frédéric Péters a écrit :
Ça dégage la possibilité de passer --without-postgresql-tests sur la ligne de commande;
Tu as la flemme
Mis à jour par Frédéric Péters il y a environ 4 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 9ccf61e6c94afb68e46cdaa0c00f17d73095ec94 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Tue Feb 11 09:48:15 2020 +0100 tests: remove custom --without-postgresql-tests test option (#39641) pytest.config was deprecated in pytest 5 and it's not worth adapting all tests.
Mis à jour par Frédéric Péters il y a environ 4 ans
- Statut changé de Résolu (à déployer) à Solution déployée
tests: remove custom --without-postgresql-tests test option (#39641)
pytest.config was deprecated in pytest 5 and it's not worth adapting all
tests.