Projet

Général

Profil

Development #54029

Erreur build jenkins

Ajouté par Emmanuel Cazenave il y a presque 3 ans. Mis à jour il y a plus de 2 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
17 mai 2021
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

AssertionError: Database queries to 'error' are not allowed in this test. Add 'error' to pytest_django.fixtures._django_db_fixture_helper.<locals>.PytestDjangoTestCase.databases to ensure proper test isolation and silence this failure.

Révisions associées

Révision b3de8372 (diff)
Ajouté par Emmanuel Cazenave il y a presque 3 ans

tox: restrict pytest-django version (#54029)

Historique

#1

Mis à jour par Emmanuel Cazenave il y a presque 3 ans

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

Ça vient de pytest-django 4.3 qui annonce une fonctionnalité expérimentale sur les bases de données multiples (https://pytest-django.readthedocs.io/en/latest/changelog.html#v4-3-0-2021-05-15)

En attendant un truc stable de leur coté, je restreint à 4.2.

commit 5611ae21f68778cc989bc515d978c1824956285c 
Author: Emmanuel Cazenave <ecazenave@entrouvert.com>
Date:   Mon May 17 15:22:00 2021 +0200

    tox: restrict django-journal version (#54029)
#2

Mis à jour par Emmanuel Cazenave il y a presque 3 ans

Et push force pour avoir un message de commit compréhensible.

commit b3de8372d516e51daca43e039def755580d3f8f8
Author: Emmanuel Cazenave <ecazenave@entrouvert.com>
Date:   Mon May 17 15:22:00 2021 +0200

    tox: restrict pytest-django version (#54029)
#3

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

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

Formats disponibles : Atom PDF