Projet

Général

Profil

Development #32516

tests: généraliser l'utilisation de MEDIA_ROOT

Ajouté par Benjamin Dauvergne il y a environ 5 ans. Mis à jour il y a environ 5 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
23 avril 2019
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Les tests pourissent la racine du projet et les tests de certains connecteurs font n'importe quoi comme recopier des données dans le répertoire média implicite. Il faut nettoyer tout ça, sus au n'importe quoi.


Fichiers

Révisions associées

Révision 95446af6 (diff)
Ajouté par Benjamin Dauvergne il y a environ 5 ans

tests: define a MEDIA_ROOT (#32516)

To prevent cluttering project root with tests files. Some connector's
test had to be changed:
  • family connector tests had to be changed as it magically used a local
    file path as a Django stored file path.
  • mdel tests where completely bogus around storage

Historique

#1

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

Extrait de ma branche pour #31595 .

#2

Mis à jour par Christophe Siraut il y a environ 5 ans

  • Statut changé de Solution proposée à Solution validée
#3

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

Merci pour le ack mais j'avais oublié encore quelques mock et autres WTF!!!.

#4

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

  • Statut changé de Solution proposée à Résolu (à déployer)
commit 95446af6cee2ecf1ffdb5a09c40652dfb834b997
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Tue Apr 16 15:32:21 2019 +0200

    tests: define a MEDIA_ROOT (#32516)

    To prevent cluttering project root with tests files. Some connector's
    test had to be changed:
    * family connector tests had to be changed as it magically used a local
    file path as a Django stored file path.
    * mdel tests where completely bogus around storage
#5

Mis à jour par Serghei Mihai (congés, retour 15/05) il y a environ 5 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF